开发者社区 问答 正文

HBase Shell中的计数器get_counter如何创建?

HBase Shell中的计数器get_counter如何创建?

展开
收起
游客k7rjnht6hbtk6 2021-12-07 13:36:48 436 分享 版权
1 条回答
写回答
取消 提交回答
  • 点击量:日、周、月
    create 'counters', 'daily', 'weekly', 'monthly'
    incr 'counters', '20110101', 'daily:hits', 1
    incr 'counters', '20110101', 'daily:hits', 1
    get_counter 'counters', '20110101', 'daily:hits'
    
    2021-12-07 13:37:25
    赞同 展开评论