hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Hatier <laurent.hat...@gmail.com>
Subject Re: Difficulty in use Hbase fully distributed mode
Date Mon, 18 Jul 2011 08:16:38 GMT
Are you sure that Hadoop is started, because you use HDFS so you must start
it before HBase.
If not, try to change the HBase port to 60010

2011/7/18 shanmuganathan <shanmuganathan.r@zohocorp.com>

> 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
> My conf/hbase-site.xml is
>
>
> <property>
>        <name>hbase.rootdir</name>
>        <value>hdfs://192.168.107.142:54310/hbase</value>
> </property>
>
> <property>
>        <name>hbase.cluster.distributed</name>
>        <value>true</value>
> </property>
>
> <property>
>        <name>hbase.zookeeper.property.clientPort</name>
>        <value>2181</value>
> </property>
>
> <property>
>        <name>hbase.zookeeper.property.dataDir</name>
>        <value>/home/hadoop/zookeeperdata</value>
> </property>
>
> <property>
>        <name>hbase.master.port</name>
>        <value>60000</value>
> </property>
>
> <property>
>        <name>hbase.zookeeper.quorum</name>
>        <value>192.168.107.142,192.168.107.149,192.168.106.202</value>
> </property>
> 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.jav
> a:99)
>        at
>
> org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.j
> ava: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.ja
> va:232)
>        at
>
> org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(Ma
> sterFileSystem.java:105)
>        at org.apache.hadoop.hbase.master.MasterFileSystem.<init>
> (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
>
>


-- 
Laurent HATIER
Étudiant en 2e année du Cycle Ingénieur à l'EISTI

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