【问题标题】:Spliting the HBase table after presplliting it拆分后拆分 HBase 表
【发布时间】:2015-11-18 11:37:55
【问题描述】:

我正在使用 HBase 0.94.6 集群,我有一个包含 100 个区域的表(预拆分),现在我可以进一步拆分表吗?我可以手动拆分包含 1000 个区域的表吗?

【问题讨论】:

    标签: hbase


    【解决方案1】:

    您可以使用 HBase "split" 命令对您的表进行强制拆分。但是,看起来没有办法指定要拆分的区域数。

    以下是来自 HBase 的信息:

    split   Split entire table or pass a region to split individual region. With the
    second parameter, you can specify an explicit split key for the region.
    Examples:
    split ‘tableName’
    split ‘regionName’ # format: ‘tableName,startKey,id’
    split ‘tableName’, ‘splitKey’
    split ‘regionName’, ‘splitKey’
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-01-13
      • 2021-02-02
      • 2016-09-14
      • 1970-01-01
      相关资源
      最近更新 更多