Here is the correct command:
hbase shell -d

On Thu, Mar 13, 2014 at 11:33 AM, Manish <[email protected]> wrote:

> Version 0.94.6-cdh4.5.0
>
> manish@localhost:/etc/hbase/conf$ hbase shell --debug
> Setting DEBUG log level...
>
> 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 09:20 PM, Ted Yu wrote:
>
>> Manish:
>> You can use the following command to see full stack trace:
>>
>> hbase shell --debug
>>
>> Cheers
>>
>>
>> On Thu, Mar 13, 2014 at 8:20 AM, Jean-Marc Spaggiari <
>> [email protected]> 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