hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manish <manishbh...@rocketmail.com>
Subject Hbase create table error
Date Thu, 13 Mar 2014 15:09:54 GMT
Hi All,

Below is the error details that i am getting when creating tables in 
Hbase. All the services are running fine.

hbase(main):001:0> create 't1', 'cf1'

*ERROR: java.lang.NoClassDefFoundError: 

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.

   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, 
   hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}

Please suggest.

Thank you,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message