How to create Namespace On HBase

谁都会走 提交于 2020-01-04 01:52:11

问题


I have installed HBase on Linux platform Manually and with Cloudera. I can able to create tables on it, but i when am creating a namespace it trowing one error like this on both installations.

hbase(main):004:0> create_namespace 'my_ns'
NoMethodError: undefined method `create_namespace' for #<Object:0x699dbc28>

Hbase Version 0.94.12 Please help me on this. Thanks,


回答1:


namespaces isn't available in 0.94 I believe.

The major effort on namespaces isn't completed yet. See https://issues.apache.org/jira/browse/HBASE-8015

However, it seems like some of it has been committed back. Most of the tickets say that it is fixed against 0.95.2 and 0.98.




回答2:


As Donald mentioned Namespaces are not a feature of HBase 0.94. They were added in v0.96 (see 0.96 announcement here). (0.95 was a development version not a released version)



来源:https://stackoverflow.com/questions/20430739/how-to-create-namespace-on-hbase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!