之前所用的完全是第一列所示的三个版本,目前还没有用hive。
后来我在hbase-site.xml中修改如下配置,将root改为了meta:
- <property>
- <name><font color="Red">zookeeper.znode.rootserver</font></name>
- <value><font color="Red">meta</font>-region-server</value>
- <description>Path to ZNode holding root region location. This is written by
- the master and read by clients and region servers. If a relative path is
- given, the parent folder will be ${zookeeper.znode.parent}. By default,
- this means the root location is stored at /hbase/root-region-server.
- </description>
- </property>
复制代码
重新开启各项服务,结果之前所说的没有任何内容的meta-region-server这个文件,其内容还是为空,开启opentsdb服务还是报错- ERROR [main-EventThread] HBaseClient: The znode for the -ROOT- region doesn't exist!
复制代码
我在zookeeper中只是修改了下简单的配置,"zoo.cfg"文件中:
- clientPort=2181
- server.1=localhost:2888:3888
- dataDir=/home/roant-hit/DATA/zookeeper
- dataLogDir=/usr/local/zookeeper-3.4.6/logs
复制代码
除了以上四项,其他文件都没改动。关键是zookeeper的logs文件是打不开的,所以没办法察看可能出错的地方。关于新版本的zookeeper的配置相关,大神有重点的项可以给我提个省儿。谢谢,祝好~!
|