Arno,

The hbase.rootdir should look something like this for you :hdfs://
yowb0i0.mydomain.com:9000/tmparno/<http://yowb0i0.mydomain.com:8020/tmparno/>

>From what I see in your logs it is able to contact the Namenode but unable
to retrieve the file, I think this is because you are using the wrong port.

J-D

On Mon, Dec 22, 2008 at 10:56 AM, Arno Strittmatter <[email protected]>wrote:

> The quick response is much appreciated, thank you Jean-Daniel.
>
>
> After configuring debug I deleted the old logs, configured a new hbase
> directory (to be clean) and started in distributed mode.
> The the attached tarball contains configuration files, log files, and a
> screen trace.
> There is an error in the region server log files about a possible data
> loss, but the reason seems not evident.
> I think the debug mode resulted in the shell showing some internal tables
> upon the list command, still the error appears.
>
> Thank you
>
>
>
>
>
>
>
> On Dec 22, 2008, at 7:25 AM, Jean-Daniel Cryans wrote:
>
>  Arno,
>>
>> Could you enable DEBUG and see what it tells you? See
>> http://wiki.apache.org/hadoop/Hbase/FAQ#5
>>
>> Also, I may recognize this trace and this NPE is thrown after all the
>> retries were done to get a single row but for a dumb reason, we do not
>> check
>> if something is null. (Even if it's not that, I'm going to open a bug in
>> jira right away since I've already seen that)
>>
>> What it would hide under this is that it cannot contact your region
>> server.
>> Maybe something is wrong with your configuration, please have a look at
>> the
>> logs and look for anything exception.
>>
>> Thx,
>>
>> J-D
>>
>> On Mon, Dec 22, 2008 at 5:43 AM, Arno Strittmatter <[email protected]>
>> wrote:
>>
>>  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
>>>
>>> r...@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*
>>>
>>>
>
>

Reply via email to