问题
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