TECH SOLUTIONS

Click here to edit subtitle

Forums

Post Reply
Forum Home > Bigdata Learnings( Hadoop, HBase,Hive and other bigdata technologies) > Getting error while creating table in hbase using cdh4

meghana
Member
Posts: 1

[email protected] ~]$ hbase shell

14/01/03 00:57:11 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available

HBase Shell; enter 'help' for list of supported commands.

Type "exit" to leave the HBase Shell

Version 0.94.6-cdh4.3.0, rUnknown, Mon May 27 20:22:05 PDT 2013

 

hbase(main):001:0> create 't', 'f1'

14/01/03 00:58:35 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

14/01/03 00:58:36 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

14/01/03 00:58:37 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

14/01/03 00:58:39 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

14/01/03 00:58:41 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

14/01/03 00:58:45 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

14/01/03 00:58:49 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

 

ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times

 

Here is some help for this command:

Create table; pass table name, a dictionary of specifications per

column family, and optionally a dictionary of table configuration.

Dictionaries are described below in the GENERAL NOTES section.

Examples:

 

hbase> create 't1', {NAME => 'f1', VERSIONS => 5}

hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}

hbase> # The above in shorthand would be the following:

hbase> create 't1', 'f1', 'f2', 'f3'

hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true}

hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}

hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}

hbase> # Optionally pre-split the table into NUMREGIONS, using

hbase> # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)

hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}

 

You can also keep around a reference to the created table:

 

hbase> t1 = create 't1', 'f1'

 

Which gives you a reference to the table named 't1', on which you can then

call methods.

 

--
January 3, 2014 at 4:11 AM Flag Quote & Reply

Sourav Gulati
Site Owner
Posts: 83

Hi Meghana,

Apologies for a very late reply. I lost touch with this website.

If you still have the ame exception , please ost configuration files of Hbase .It seems some issue with configuration




--


February 14, 2014 at 12:48 PM Flag Quote & Reply

You must login to post.