0

我是 hbase-0.98.18-hadoop2 的用户,当我尝试创建表时:

create 'MOBTable', {NAME => 'columFamily', VERSION => 1, IS_MOB => true, MOB_THRESHOLD => 102400}

有一个错误:

NameError: uninitialized constant IS_MOB

但是我在 hbase-site.xml 中添加了以下行:

<property>
  <name>hfile.format.version</name>
  <value>3</value>
</property>

为了支持 Hfile version3。然而问题依然存在。我怎么解决这个问题?

4

1 回答 1

1

Apache HBase 的 MOB 功能在您的hbase-0.98.18. 到目前为止,它仅通过https://issues.apache.org/jira/browse/HBASE-11339完成的工作添加到上游的 2.0.0 版本中。Apache HBase 尚未发布包含 MOB 功能的公开版本。

您也许可以尝试使用包含 CDH 的 Apache HBase,它具有从 CDH 5.4.0 版本开始向后移植和支持的 MOB 功能:http: //www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hbase_new_features_and_changes。 html

于 2016-05-19T06:12:37.193 回答