Home | About | Sematext search-lucene.com search-hadoop.com
 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,

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:

> In this case, you may just use the standalone mode.  You can follow the
> quick start step by step.
>
> The default zookeeper port is 2181, you don't need to configure it.
>
>
>
> On Mon, Feb 13, 2012 at 11:28 AM, Bing Li <[EMAIL PROTECTED]> wrote:
>
>> Dear Jimmy,
>>
>> I am a new user of HBase. My experiences in HBase and Hadoop is very
>> limited. I just tried to follow some books, such as Hadoop/HBase the
>> Definitive Guide. However, I still got some problems.
>>
>> What I am trying to do is just to set up a pseudo distributed HBase
>> environment on a single node. After that, I will start my system
>> programming in Java. I hope I could deploy the system in fully distributed
>> mode when my system is done.
>>
>> So what I am configuring is very simple. Do I need to set up the
>> zookeeper port in hbase-site.xml?
>>
>> Thanks so much!
>>
>> Best,
>> Bing
>>
>>
>> On Tue, Feb 14, 2012 at 3:16 AM, Jimmy Xiang <[EMAIL PROTECTED]> wrote:
>>
>>> Have you restarted your HBase after the change?  What's the zookeeper
>>> port does your HMaster use?
>>>
>>> Can you run the following to checkout where is your HMaster as below?
>>>
>>> hbase zkcli
>>>   then:  get /hbase/master
>>>  It should show you master location.
>>>
>>> It seems you have a distributed installation.  How many regionservers do