错误:org.apache.hadoop.hbase.MasterNotRunningException:null + hbase + hadoop [英] ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null+hbase+hadoop
问题描述
我最近配置了两台机器的hadoop集群(在ubuntu上)。到目前为止它工作正常。但是当我尝试在上面的hadoop集群上配置hbase时,它显示错误。
这是我做的,
我有两台机器。
192.168.1.110 Hadoop master
192.168.1.111 Hadoop从站
conf / hbase-env.sh
export JAVA_HOME = / usr / lib / jvm / java-6-sun-1.6.0.22
export HBASE_CLASSPATH = / home / hadoop / hadoop-0.20.2 / conf
export HBASE_MANAGES_ZK = true
hbase-site.xml
hbase.rootdir-> hdfs://192.168.1.110:54310 / hbase
hbase.cluster.distributed-> true
hbase.zookeeper.quorum-> 192.168.1.110 ,192.168.1.111
和区域srevers,
192.168.1.111
hbase,我试图从hbase shell运行命令
hbase(main):001:0> list
TABLE
它显示
错误:org.apache.hadoop.hbase.MasterNotRunningException:null
请帮我解决问题
在此先感谢
错误是自我xplaining。如果您在主机(192.168.1.110)计算机上使用hadoop用户执行 jps
,您将看到HMaster未运行。请检查HMaster日志,看看它为什么失败。
I have recently configured hadoop cluster with two machines(on ubuntu). It works fine so far. But when i try to configure hbase on the above hadoop cluster, it shows error.
Here is what i did,
i have two machines. 192.168.1.110 Hadoop master 192.168.1.111 Hadoop slave
conf/hbase-env.sh
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22 export HBASE_CLASSPATH=/home/hadoop/hadoop-0.20.2/conf export HBASE_MANAGES_ZK=true
hbase-site.xml
hbase.master->192.168.1.110:54310(Same as hadoop master:port) hbase.rootdir->hdfs://192.168.1.110:54310/hbase hbase.cluster.distributed->true hbase.zookeeper.quorum->192.168.1.110,192.168.1.111
And region srevers,
192.168.1.111
After starting hbase, i tried to run the command from hbase shell
hbase(main):001:0> list
TABLE
It shows
ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null
Please help me up solving the issue Thanks in advance
The error is self explaining. if you do jps
with the hadoop user on your master(192.168.1.110) machine you would see that HMaster is not running. Please check the HMaster logs to see why it failed.
这篇关于错误:org.apache.hadoop.hbase.MasterNotRunningException:null + hbase + hadoop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!