我按照指令设置OpenTSDB:http://opentsdb.net/getting-started.html和http://opentsdb.net/setup-hbase.html。在我使用命令启动opentsdb之后:
./build/tsdb tsd --port=80 --staticroot=/opt/opentsdb/build/staticroot --cachedir=/tmp/tsd我犯了以下错误:
2013-10-04 22:59:40,577 ERROR [main-EventThread] HBaseClient: The znode for the -ROOT- region doesn't exist!
以下是来自hbase的日志文件:
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:51:40,045 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90001 type:create cxid:0x8 zxid:0x10 txntype:-1 reqpath:n/a Error Path:/hbase/online-snapshot Error:KeeperErrorCode = NoNode for /hbase/online-snapshot
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:51:40,070 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:create cxid:0x24 zxid:0x15 txntype:-1 reqpath:n/a Error Path:/hbase/online-snapshot/acquired Error:KeeperErrorCode = NodeExists for /hbase/online-snapshot/acquired
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:51:45,798 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:delete cxid:0x3c zxid:0x17 txntype:-1 reqpath:n/a Error Path:/hbase/meta-region-server Error:KeeperErrorCode = NoNode for /hbase/meta-region-server
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:51:46,419 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:create cxid:0x5b zxid:0x1f txntype:-1 reqpath:n/a Error Path:/hbase/table-lock/hbase:namespace Error:KeeperErrorCode = NoNode for /hbase/table-lock/hbase:namespace
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:51:47,063 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:create cxid:0x7a zxid:0x2f txntype:-1 reqpath:n/a Error Path:/hbase/namespace/default Error:KeeperErrorCode = NodeExists for /hbase/namespace/default
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:51:47,074 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:create cxid:0x7e zxid:0x31 txntype:-1 reqpath:n/a Error Path:/hbase/namespace/hbase Error:KeeperErrorCode = NodeExists for /hbase/namespace/hbase
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:54:42,588 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:create cxid:0xa5 zxid:0x39 txntype:-1 reqpath:n/a Error Path:/hbase/table-lock/tsdb-uid Error:KeeperErrorCode = NoNode for /hbase/table-lock/tsdb-uid
hbase-root-master-ip-10-158-96-233.log:2013-10-04 22:54:43,416 INFO [ProcessThread(sid:0 cport:-1):] server.PrepRequestProcessor: Got user-level KeeperException when processing sessionid:0x14185ab2dc90000 type:create cxid:0xbd zxid:0x44 txntype:-1 reqpath:n/a Error Path:/hbase/table-lock/tsdb Error:KeeperErrorCode = NoNode for /hbase/table-lock/tsdb发布于 2013-10-30 23:29:45
当我报告这个问题时,我发现当我使用HBASE版本0.94.12时,我没有看到这个问题。但是当我使用最新的HBase版本0.96.0时,我开始看到安装错误。我转而使用HBase稳定版本,目前为0.94.12。
发布于 2013-10-11 13:44:37
我也遇到了这个问题。我通过更改/etc/host文件修复了这个问题。可能看起来是这样的:
127.0.0.1本地主机 127.0.1.1主机名
将此更改为:
127.0.0.1本地主机 127.0.0.1主机名
这里有一些更多的信息http://hbase.apache.org/book.html在1.2快速启动
发布于 2013-10-05 16:41:07
这意味着OpenTSDB的HBase客户端无法定位HBase的-ROOT-区域,因为ZooKeeper中没有"file“(znode)来指示它在哪里。这很可能是由于HBase没有运行,或者由于某些问题而在启动时死亡。检查logs根目录中的HBase目录,您可能会在HBase的日志文件中找到根本原因。
https://stackoverflow.com/questions/19192110
复制相似问题