【问题标题】:Row count in Hbase where a column has certain value列具有特定值的 Hbase 中的行数
【发布时间】:2013-11-29 03:58:59
【问题描述】:

我正在使用 hbase 将我的数据存储在 hdfs 中,我的表中有一个带有 user_details 的列族,我在其中存储用户值,例如-

userdetails-> userid ->"ui011"
userdetails-> userName->"John"
userdetails-> emailid->"john@xyz.com"

现在可以通过 java 和 hbase shell 计算用户名和电子邮件 ID 中具有特定值的行。我是 hbase 的新手,我们将不胜感激。

【问题讨论】:

    标签: java hadoop hbase


    【解决方案1】:

    看看 Hbase 协处理器 AggregationClient 。 AggregationClient docs

    用法示例:row-count-hbase-aggregation-example

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-08
      相关资源
      最近更新 更多