Hypertabel基于KFS时Master启动失败
KFS的metaserver和部署Hypertabel是同一台机器,Hypertabel暂时只部署了一台。
启动Hypertabel Master时报错信息如下:
1355363720 INFO Hypertable.Master : (/root/src/hypertable/src/cc/AsyncComm/ConnectionManager.cc:359) Event: type=DISCONNECT from=127.0.0.1:38030; Problem connecting to
DFS Broker, will retry in 600000 milliseconds...
1355363720 ERROR Hypertable.Master : main (/root/src/hypertable/src/cc/Hypertable/Master/main.cc:282): Hypertable::Exception: Error checking existence of DFS path: /hy
pertable/servers/master/log/mml - COMM broken connection
at virtual bool Hypertable::DfsBroker::Client::exists(const Hypertable::String&) (/root/src/hypertable/src/cc/DfsBroker/Lib/Client.cc:655)
at virtual bool Hypertable::DfsBroker::Client::exists(const Hypertable::String&) (/root/src/hypertable/src/cc/DfsBroker/Lib/Client.cc:649): Event: type=ERROR "
COMM broken connection" from=127.0.0.1:38030
Hypertabel的配置信息如下
#
# hypertable.cfg
#
# HDFS Broker
HdfsBroker.Hadoop.ConfDir=/etc/hadoop/conf
# Ceph Broker
CephBroker.MonAddr=10.0.1.245:6789
# Local Broker
DfsBroker.Local.Root=fs/local
#kfs meta server
Kfs.MetaServer.Name=dev2
Kfs.MetaServer.Port=20000
Kfs.Broker.Workers=20
# DFS Broker - for clients
DfsBroker.Port=38030
# Hyperspace
Hyperspace.Replica.Host=dev2
Hyperspace.Replica.Port=38040
Hyperspace.Replica.Dir=hyperspace
# Hypertable.Master
Hypertable.Master.Host=dev2
Hypertable.Master.Port=38050
# Hypertable.RangeServer
Hypertable.RangeServer.Port=38060
Hyperspace.KeepAlive.Interval=30000
Hyperspace.Lease.Interval=1000000
Hyperspace.GracePeriod=200000
# ThriftBroker
ThriftBroker.Port=38080
其中dev2就是本地机器名,DFS Broker已经正常启动。
Treow
11 years, 3 months ago