Home Forums Hortonworks Sandbox ZooKeeper available but no active master location found

This topic contains 4 replies, has 2 voices, and was last updated by  Larry Liu 2 months, 3 weeks ago.

  • Creator
    Topic
  • #16240

    Hi all,
    I am a new developer of hadoop and at the moment I fighting against an issue in hbase.
    Actually I wrote a mapreduce that should be able also to write data in hbase directly.
    Unlucky with my installation on my virtual machine I get the following error:

    INFO client.HConnectionManager$HConnectionImplementation: ZooKeeper available but no active master location found
    13/02/28 14:27:23
    INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 1 of 10 failed; retrying after sleep of 1008
    org.apache.hadoop.hbase.MasterNotRunningException

    Are you able to provide me some useful hints?
    Thanks a lot in advance for your help

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #16247

    Larry Liu
    Moderator

    Can you please verify if your zookeeper is running? If your zookeeper is not running, hbase master can be started.

    Larry

    Collapse
    #16245

    Actually Itried to execute start-hbase.sh to start HMaster and after that I got the following output:
    32110 HRegionServer
    2130 HMaster
    2429 Jps
    31728 HQuorumPeer

    However after executing:

    hbase shell
    status

    it gives the same error and if I use again jps command the HMaster disappeared.

    Thanks a lot

    Collapse
    #16244

    Hi Larry,
    this is the output of the command you suggested me:

    [root@localhost ~]# $JAVA_HOME/bin/jps
    32110 HRegionServer
    32445 Jps
    31728 HQuorumPeer

    What could I do to start the HMaster. Consider that I running hadoop in standalone mode.
    Thanks a lot

    Collapse
    #16242

    Larry Liu
    Moderator

    Hi, Raffaello

    The error is self explained. org.apache.hadoop.hbase.MasterNotRunningException

    Please try to run jps to see if hmaster is running on your hbase master machine.

    Here is the jps:
    $JAVA_HOME/bin/jps

    Thanks

    Larry

    Collapse
Viewing 4 replies - 1 through 4 (of 4 total)