I've had a cluster running MapR for a few weeks now and have been fairly pleased with it. Today I installed HBase, which was relatively problem free, but for some reason HBase Master will only start on one of the nodes I configured as an HBase Master node.

I've tried starting it through the web console as well as via command line as follows: sudo maprcli node services -nodes mapr00 -hbmaster restart

Which returns with no errors, but there is no HBase Master running as a result of it. What logs can I check to try to figure out why?

asked 30 Sep '11, 12:27

Matt's gravatar image

Matt
156111217
accept rate: 50%

edited 30 Sep '11, 13:11


By default we start only one hbase master - meaning if it fails the other one will start. If you want to change it, so multiple would start please modify following on the nodes where HbaseMaster is installed

inside /opt/mapr/conf/warden.conf first line: "services=...hbmaster:1:cldb..."

Change hbmaster:1:cldbto hbmaster:all:cldb

This way HBaseMaster will be started on all configured nodes

link

answered 30 Sep '11, 13:44

yufeldman's gravatar image

yufeldman ♦♦
1.9k27
accept rate: 25%

I think my confusion arose from the HBase instructions here: http://mapr.com/doc/display/MapR/HBase

I was incorrectly assuming that since the instructions say that it HBase Master should generally be installed on three nodes that it would by default start up on those three nodes. At the moment I'm content with one node, I just needed to make sure nothing was broken. Thanks.

(03 Oct '11, 12:15) Matt

but for some reason HBase Master will only start on one of the nodes I configured as an HBase Master node.

If I understand correctly, you have configured HBase Master on a node and it starts fine Now are you trying to start another HBase Master on different node? Is this as HBase backup master? If you have to start HBase Master on different node you will have to install mapr-hbase-internal and mapr-hbase-master and run configure.sh. After this you should be able to start HBase maser either via GUI or command line.

If you are looking for hbase logs, those could be found under

/opt/mapr/hbase/hbase-<version>/logs 

link

answered 30 Sep '11, 13:28

Lohit's gravatar image

Lohit ♦♦
2.1k311
accept rate: 44%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×76

Asked: 30 Sep '11, 12:27

Seen: 1,049 times

Last updated: 03 Oct '11, 12:15

powered by OSQA