Hi,

I am using the Version 0.94.6-cdh4.5.0. Here is the debug output.

14/03/13 23:57:48 WARN conf.Configuration: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.6-cdh4.5.0, rUnknown, Wed Nov 20 15:48:11 PST 2013

IRB::UnrecognizedSwitch: Unrecognized switch: --debug
Raise at file:/usr/lib/hbase/lib/jruby-complete-1.6.5.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:167 fail at file:/usr/lib/hbase/lib/jruby-complete-1.6.5.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:95 parse_opts at file:/usr/lib/hbase/lib/jruby-complete-1.6.5.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:194 setup at file:/usr/lib/hbase/lib/jruby-complete-1.6.5.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:19
       start at /usr/lib/hbase/bin/../bin/hirb.rb:168
      (root) at /usr/lib/hbase/bin/../bin/hirb.rb:188

On Thursday 13 March 2014 08:50 PM, Jean-Marc Spaggiari wrote:
Hi Manish,

Which version of HBase? Is your cluster secured with Kerberos?

JM


2014-03-13 11:09 GMT-04:00 Manish <[email protected]>:

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: org/apache/hadoop/security/
authentication/util/KerberosName*

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']}


Please suggest.

Thank you,
Manish


Reply via email to