Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to start HBase Master

Unable to start HBase Master

Hello All,

I am doing manual installation of Hadoop 2.7.1.2.4.0.0-169 through the document :- https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/content/ref-945... .

Currently installed HBase and got below error while starting :-

bash-4.1$ /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master; sleep 25
starting master, logging to /var/log/hbase/hbase-hbase-master-manual.hadoop.out
log4j:ERROR Could not find value for key log4j.appender.RFA
log4j:ERROR Could not instantiate appender named "RFA".
log4j:WARN No appenders could be found for logger (org.apache.hadoop.hbase.util.VersionInfo).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Also, I have total of three nodes and except on one node, zookeeper runs successfully. On one node, which I thought to make as Hbase master, Zookeeper shows as STARTED but cant see it running (ps -ef |grep -i zookeeper ).

Please help in getting any pointers to fix this issue.

4 REPLIES 4

Re: Unable to start HBase Master

Hi @gsharma, great idea, manual install is a lot of fun! Looks like something is wrong with your log4j settings. Have you built conf links? Do you have log4j.properties in your /etc/hbase/conf/ directory. And /usr/hdp/current/hbase-client/conf pointing to /etc/hbase/conf. The installer was supposed to install a default lof4j.properties file there.

Re: Unable to start HBase Master

Hi @Predrag ,

I was able to fix the issue after defining the DRFA into hbase-env.sh file.

Thanks for your quick help though

Re: Unable to start HBase Master

New Contributor

Hi,

I am getting the same issue so can u advise what needs to be added to 'hbase-env.sh' ?

[root@rac1 conf]# su -l hbase -c "/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master; sleep 25" starting master, logging to /var/log/hbase/hbase-hbase-master-rac1.mlg.oracle.com.out Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release [root@rac1 conf]#

[root@rac1 ~]# cat /var/log/hbase/hbase-hbase-master-rac1.mlg.oracle.com.out

log4j:ERROR Could not find value for key log4j.appender.RFA log4j:ERROR Could not instantiate appender named "RFA". log4j:WARN No appenders could be found for logger (org.apache.hadoop.hbase.util.VersionInfo). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/hdp/2.4.0.0-169/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

Re: Unable to start HBase Master

New Contributor

@Divakarxmehta

Don't have an account?
Coming from Hortonworks? Activate your account here