Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 Times


Copy link to this message
-
Re: ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 Times
Dear Jimmy,

Thanks so much for your instant reply!

My hbase-site.xml is like the following.

  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://localhost:9000/hbase</value>
  </property>
  <property>
    <name>dfs.replication</name>
    <value>1</value>
  </property>
  <property>
    <name>hbase.master</name>
    <value>localhost:60000</value>
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>localhost</value>
  </property>

When I run hadoop fs -ls /, the directories and files under the linux root
are displayed.

Best,
Bing

On Tue, Feb 14, 2012 at 3:48 AM, Jimmy Xiang <[EMAIL PROTECTED]> wrote:

> Which port does your HDFS listen to? It is not 9000, right?
>
> <name>hbase.rootdir</name>
>     <value>hdfs://localhost:9000/hbase</value>
>
> You need to fix this and make sure your HDFS is working, for example,
> the following command should work for you.
>
> hadoop fs -ls /
>
>
>
> On Mon, Feb 13, 2012 at 11:44 AM, Bing Li <[EMAIL PROTECTED]> wrote:
>
>> Dear Jimmy,
>>
>> I configured the standalone mode successfully. But I wonder why the
>> pseudo distributed one does work.
>>
>> I checked in logs and got the following exceptions. Does the information
>> give you some hints?
>>
>> Thanks so much for your help again!
>>
>> Best,
>> Bing
>>
>> 2012-02-13 18:25:49,782 FATAL org.apache.hadoop.hbase.master.HMaster:
>> Unhandled exception. Starting shutdown.
>> java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on
>> connection exception: java.net.ConnectException: Connection refuse
>> d
>> at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095)
>>  at org.apache.hadoop.ipc.Client.call(Client.java:1071)
>> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
>>  at $Proxy10.getProtocolVersion(Unknown Source)
>> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
>>  at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
>> at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
>>  at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:238)
>> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:203)
>>  at
>> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89)
>> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)
>>  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
>> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)
>>  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
>> at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
>>  at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:471)
>> at
>> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:94)
>>  at
>> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:448)
>> at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:326)
>>  at java.lang.Thread.run(Thread.java:662)
>> Caused by: java.net.ConnectException: Connection refused
>> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>>  at
>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>> at
>> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
>>  at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:656)
>> at
>> org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:434)
>>  at
>> org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:560)
>> at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:184)
>>  at org.apache.hadoop.ipc.Client.getConnection(Client.java:1202)
>> at org.apache.hadoop.ipc.Client.call(Client.java:1046)
>>  ... 18 more
>> 2012-02-13 18:25:49,787 INFO org.apache.hadoop.hbase.master.HMaster:
>> Aborting
>> 2012-02-13 18:25:49,787 DEBUG org.apache.hadoop.hbase.master.HMaster:
>> Stopping service threads
>>
>>
>> Thanks so much!
>> Bing
>>
>>
>> On Tue, Feb 14, 2012 at 3:35 AM, Jimmy Xiang <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB