hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shanmuganathan.r" <shanmuganatha...@zohocorp.com>
Subject Difficulty in use Hbase fully distributed mode
Date Mon, 18 Jul 2011 08:54:28 GMT



Hi,


I am new user for the hbase and I have trouble in starting HBase.
I am using the hadoop-0.20.2, zookeeper 3.3.3 and Hbase 0.90.1


server1:      namenode,jobtracker,tasktracker,datanode,secondarynamenode,zookeeper1,hmaster
server2:      tasktracker,datanode,zookeeper2,regionserver1
server3:      tasktracker,datanode,zookeeper3,regionserver2


My conf/hbase-site.xml is
            


&lt;property&gt;
        &lt;name&gt;hbase.rootdir&lt;/name&gt;
        &lt;value&gt;hdfs://192.168.107.142:54310/hbase&lt;/value&gt;
&lt;/property&gt;


&lt;property&gt;
        &lt;name&gt;hbase.cluster.distributed&lt;/name&gt;
        &lt;value&gt;true&lt;/value&gt;
&lt;/property&gt;


&lt;property&gt;
        &lt;name&gt;hbase.zookeeper.property.clientPort&lt;/name&gt;
        &lt;value&gt;2181&lt;/value&gt;
&lt;/property&gt;


&lt;property&gt;
        &lt;name&gt;hbase.zookeeper.property.dataDir&lt;/name&gt;
        &lt;value&gt;/home/hadoop/zookeeperdata&lt;/value&gt;
&lt;/property&gt;


&lt;property&gt;
        &lt;name&gt;hbase.master.port&lt;/name&gt;
        &lt;value&gt;60000&lt;/value&gt;
&lt;/property&gt;


&lt;property&gt;
        &lt;name&gt;hbase.zookeeper.quorum&lt;/name&gt;
        &lt;value&gt;192.168.107.142,192.168.107.149,192.168.106.202&lt;/value&gt;
&lt;/property&gt;
My Hadoop and zookeeper are working perfectly but when i started the HBase ,I got the following
errors in log. Please give me the solution for this problem
2011-07-18 12:20:57,048 INFO org.apache.hadoop.hbase.master.ActiveMasterManager: Master=shanmuganathanr.zohocorpin.com:60000
2011-07-18 12:20:57,271 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception.
Starting shutdown.
java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.107.142:54310/hbase, expected:
hdfs://shanmuganathanr.zohocorpin.com:54310
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
        at org.apache.hadoop.hdfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:99)
        at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:155)
        at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:462)
        at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:648)
        at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:232)
        at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:105)
        at org.apache.hadoop.hbase.master.MasterFileSystem.&lt;init&gt;(MasterFileSystem.java:90)
        at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:342)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:278)
2011-07-18 12:20:57,274 INFO org.apache.hadoop.hbase.master.HMaster: Aborting
2011-07-18 12:20:57,274 DEBUG org.apache.hadoop.hbase.master.HMaster: Stopping service threads
2011-07-18 12:20:57,274 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 60000
2011-07-18 12:20:57,275 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60000:
exiting
2011-07-18 12:20:57,275 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2 on 60000:
exiting
2011-07-18 12:20:57,275 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60000:
exiting
2011-07-18 12:20:57,275 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 5 on 60000:
exiting
2011-07-18 12:20:57,275 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60000:
exiting
2011-07-18 12:20:57,275 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC Server listener
on 60000
                                                                                         
             
Thanks in advance,


Regards 
Shanmuganathan



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message