82353

How to create Namespace On HBase

Question:

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,

Answer1:

namespaces isn't available in 0.94 I believe.

The major effort on namespaces isn't completed yet. See <a href="https://issues.apache.org/jira/browse/HBASE-8015" rel="nofollow">https://issues.apache.org/jira/browse/HBASE-8015</a>

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.

Answer2:

As Donald mentioned Namespaces are not a feature of HBase 0.94. They were added in v0.96 (see 0.96 announcement <a href="https://blogs.apache.org/hbase/entry/hbase_0_96_0_released" rel="nofollow">here</a>). (0.95 was a development version not a released version)

Recommend

  • Playing multiple wav files using ALSA in C with different volumes
  • Look at the source code of a Java class modified by a Java Agent
  • How would you access a C structure's members without knowing the name?
  • How to use nltk3 for python33?
  • Insert Content Before and After an Element Without Autoclosing tags
  • App crashes on iPhone but not on simulator
  • How to change footer of a particular page with a particular header title in TCPDF
  • Displaying XML file data in a HTML table
  • Coin change recursive approach
  • Alternative to bcrypt when saving passwords in PHP 5.2
  • Auto Increment / Identity Custom Field Type
  • Avoiding duplicated data in same table with jquery
  • Implementing and using MinMax with four in row (connect4) game
  • Backbone - Create Multiple Models in Collection - serverside
  • How to implement Google Drive and Google Plus sdk in ios project
  • Bison does not appear to recognize C string literals appropriately
  • Circular Left Rotation Algorithm in C#
  • Windows biometric framework sample umdf driver: This device cannot start. (Code 10)
  • Run a form (insert/update/delete) from within a div using jquery
  • Connect to a local database from phpmyadmin with R
  • Create an Office365 mailbox from within C# Web API method
  • Julia 1.0 UndefVarError - Scope of Variable
  • Multiplying polynomials/simplifying like terms
  • I am consuming a WCF service that requires headers from a .NET 2 website. How can I programmatically
  • How to specify generic type when the type is only known at runtime?
  • How to integrate angular2-material (alpha 8.2) with angular2-Quickstart app
  • Codeigniniter insert data through models and controller
  • Sign a Pdf using custom digital signature in Java
  • Android Library Projects on Windows and Mac
  • How to use FirstOrDefault inside Include
  • PHP Permalinks.. how to change?
  • media foundation H264 decoder not working properly
  • Running R's aov() mixed effects model from Python using rpy2
  • Access to a Matlab gui from the web
  • Time Complexity of Fibonacci Algorithm [duplicate]