miaowmiaowmiaow 2014-09-24 08:53 采纳率: 0%
浏览 5769

hbase启动后hmaster进程消失的问题

hadoop-2.4.1+zookeeper-3.4.5(非hbase自带)+hbase-0.96.2-hadoop2

无论执行什么命令,都报一下错:
hbase(main):001:0> status
ERROR: Can't get master address from ZooKeeper; znode data == null

日志文件
hbase-root-master-master.log:
2014-09-05 10:09:59,705 FATAL [master:master:60000] master.HMaster: Unhandled exception. Starting shutdown.
java.net.UnknownHostException: Invalid host name: local host is: (unknown); destination host is: "master":9000; java.net.UnknownHostException;
2014-09-05 10:10:00,707 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted

配置文件 hbase-site.xml


hbase.rootdir
hdfs://master:9000/hbase


hbase.cluster.distributed

true

hbase.master
master:60000

hbase.zookeeper.quorum
master,slave1,slave2

配置文件 zoo.cfg

The number of milliseconds of each tick

tickTime=2000

The number of ticks that the initial

synchronization phase can take

initLimit=10

The number of ticks that can pass between

sending a request and getting an acknowledgement

syncLimit=5

the directory where the snapshot is stored.

do not use /tmp for storage, /tmp here is just

example sakes.

dataDir=/root/SoftWare/zkdata

the port at which the clients will connect

clientPort=2181

server.1=master:2888:3888
server.2=slave1:2888:3888
server.3=slave2:2888:3888
#

Be sure to read the maintenance section of the

administrator guide before turning on autopurge.

#

http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance

#

The number of snapshots to retain in dataDir

#autopurge.snapRetainCount=3

Purge task interval in hours

Set to "0" to disable auto purge feature

#autopurge.purgeInterval=1

配置文件 core-site.xml


fs.defaultFS
hdfs://master:9000


hadoop.tmp.dir
file:///home/hadoop/tmp


io.file.buffer.size
131072

  • 写回答

2条回答 默认 最新

  • miaowmiaowmiaow 2014-09-24 09:01
    关注

    有没有高手遇到过这种问题啊,集群跟伪分布我都试过,报一样的错,求高手指教啊

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog