hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arno Strittmatter <...@venevita.net>
Subject hbase shell >list results in NativeException: java.lang.NullPointerException: null
Date Mon, 22 Dec 2008 10:43:13 GMT
Hello

fresh install of hbase 0.18.1 & hadoop 0.18.2
hbase in non distributed mode w/o hadoop works fine
as soon as I add the configuration:
<property>
     <name>hbase.rootdir</name>
     <value>hdfs://yowb0i0.mydomain.com:8020/tmparno/</value>
     <description>The directory shared by region servers.
     </description>
</property>
and run bin/hbase shell
 > list
I get an error stack. However the hbase directory does get created on  
hdfs.
The attached error stack.

Thank you,
Arno

root@yowb0 conf]# ../bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Version: 0.18.1, r707159, Wed Oct 22 12:43:06 PDT 2008
hbase(main):001:0> list
NativeException: java.lang.NullPointerException: null
         from org/apache/hadoop/hbase/client/ServerCallable.java:71:in  
`getRegio
Name'
         from org/apache/hadoop/hbase/client/HConnectionManager.java: 
863:in `get
egionServerWithRetries'
         from org/apache/hadoop/hbase/client/MetaScanner.java:56:in  
`metaScan'
         from org/apache/hadoop/hbase/client/MetaScanner.java:30:in  
`metaScan'
         from org/apache/hadoop/hbase/client/HConnectionManager.java: 
297:in `lis
Tables'
         from org/apache/hadoop/hbase/client/HBaseAdmin.java:117:in  
`listTables'
         from sun.reflect.NativeMethodAccessorImpl:-2:in `invoke0'
         from sun.reflect.NativeMethodAccessorImpl:-1:in `invoke'
         from sun.reflect.DelegatingMethodAccessorImpl:-1:in `invoke'
         from java.lang.reflect.Method:-1:in `invoke'
         from org/jruby/javasupport/JavaMethod.java:250:in  
`invokeWithExceptionH
ndling'
         from org/jruby/javasupport/JavaMethod.java:219:in `invoke'
         from org/jruby/javasupport/JavaClass.java:416:in `execute'
         from org/jruby/internal/runtime/methods/ 
SimpleCallbackMethod.java:67:in
`call'
         from org/jruby/internal/runtime/methods/DynamicMethod.java: 
70:in `call'
         from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
... 131 levels...
         from  
ruby.usr.local.hbase.hbase_minus_0_dot_18_dot_1.bin.hirbInvokermet
od__23$RUBY$startOpt:-1:in `call'
         from org/jruby/internal/runtime/methods/DynamicMethod.java: 
74:in `call'
         from org/jruby/internal/runtime/methods/CompiledMethod.java: 
48:in `call
         from org/jruby/runtime/CallSite.java:123:in `cacheAndCall'
         from org/jruby/runtime/CallSite.java:298:in `call'
         from ruby/usr/local/hbase/hbase_minus_0_dot_18_dot_1/bin//usr/ 
local/hba
e/hbase-0.18.1/bin/../bin/hirb.rb:351:in `__file__'
         from ruby/usr/local/hbase/hbase_minus_0_dot_18_dot_1/bin//usr/ 
local/hba
e/hbase-0.18.1/bin/../bin/hirb.rb:-1:in `__file__'
         from ruby/usr/local/hbase/hbase_minus_0_dot_18_dot_1/bin//usr/ 
local/hba
e/hbase-0.18.1/bin/../bin/hirb.rb:-1:in `load'
         from org/jruby/Ruby.java:512:in `runScript'
         from org/jruby/Ruby.java:432:in `runNormally'
         from org/jruby/Ruby.java:312:in `runFromMain'
         from org/jruby/Main.java:144:in `run'
         from org/jruby/Main.java:89:in `run'
         from org/jruby/Main.java:80:in `main'
         from /usr/local/hbase/hbase-0.18.1/bin/../bin/hirb.rb:242:in  
`list'
         from (hbase):2:in `binding'hbase(main):002:0>
hbase(main):003:0* 

Mime
View raw message