Neerja Bhatnagar | 27 Jan 20:13
Picon

HBase 0.92.0 Master won't start

Hi, Can anyone please help me with this HBase error?

HBase version - hbase-0.92.0-candidate-4 (from Michael Stack's web page -
people.apache.org/~stack <http://people.apache.org/%7Estack>) Hadoop
version - Hadoop 1.0.0

I deleted everything in /home/hdp/hdfs and /home/hdp/tmp and
hadoop-1.0.0/logs and hbase-0.92.0/logs.

HDFS starts fine, I am able to put files and list them.
HBase gives the following error -

2012-01-27 10:56:51,058 INFO
org.apache.hadoop.hbase.master.metrics.MasterMetrics: Initialized
2012-01-27 10:56:51,070 INFO
org.apache.hadoop.hbase.master.ActiveMasterManager:
Master=localhost.localdomain,60000,1327690594936
2012-01-27 10:56:51,216 DEBUG
org.apache.hadoop.hbase.master.SplitLogManager: timeout = 25000
2012-01-27 10:56:51,216 DEBUG
org.apache.hadoop.hbase.master.SplitLogManager: unassigned timeout = 180000
2012-01-27 10:56:51,239 INFO
org.apache.hadoop.hbase.master.SplitLogManager: found 0 orphan tasks and 0
rescan nodes
2012-01-27 10:56:51,239 FATAL org.apache.hadoop.hbase.master.HMaster:
Unhandled exception. Starting shutdown.
java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
path in absolute URI: hdfs://10.40.0.156:9000.oldlogs
        at org.apache.hadoop.fs.Path.initialize(Path.java:148)
        at org.apache.hadoop.fs.Path.<init>(Path.java:71)
(Continue reading)

Ron | 28 Jan 22:00
Picon

Re: HBase 0.92.0 Master won't start

Neerja Bhatnagar <neerjapub@...> writes:
> 
> I deleted everything in /home/hdp/hdfs and /home/hdp/tmp and
> hadoop-1.0.0/logs and hbase-0.92.0/logs.
> 
...
> Unhandled exception. Starting shutdown.
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
> path in absolute URI: hdfs://10.40.0.156:9000.oldlogs

I think you want to change your hbase.rootdir (conf/hbase-site.xml)
from hdfs://10.40.0.156:9000.oldlogs to something like
hdfs://10.40.0.156:9000/oldlogs

Jean-Daniel Cryans | 3 Feb 00:18
Picon
Favicon

Re: HBase 0.92.0 Master won't start

Actually hbase.rootdir must really be set to a directory, not just the
location of the Namenode. The appended ".oldlogs" is the master
opening up a path to where the old write ahead logs are archived but
"hdfs://10.40.0.156:9000" is not a folder.

At the very least OP should use this config if he wants to have hbase
write to the root of the FS (I do not recommend):
hdfs://10.40.0.156:9000/

This is the default one people normally use: hdfs://10.40.0.156:9000/hbase

I opened this jira since we should alert the user that his
hbase.rootdir is wrong:
https://issues.apache.org/jira/browse/HBASE-5327

J-D

On Sat, Jan 28, 2012 at 1:00 PM, Ron <b0b0b0b@...> wrote:
> Neerja Bhatnagar <neerjapub@...> writes:
>>
>> I deleted everything in /home/hdp/hdfs and /home/hdp/tmp and
>> hadoop-1.0.0/logs and hbase-0.92.0/logs.
>>
> ...
>> Unhandled exception. Starting shutdown.
>> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
>> path in absolute URI: hdfs://10.40.0.156:9000.oldlogs
>
>
> I think you want to change your hbase.rootdir (conf/hbase-site.xml)
(Continue reading)


Gmane