解决hbase 执行shell命令出错问题


2016-06-18 12:37:27,336 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-06-18 12:37:27,639 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-06-18 12:37:27,741 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-06-18 12:37:27,944 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-06-18 12:37:28,249 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-06-18 12:37:28,753 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
^C2016-06-18 12:37:29,758 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.


亲测成功.......... hbase-site.xml


<configuration>

	<property>

		<name>hbase.rootdir</name>

		<value>file:/home/ampmon/hadoop/hbase-0.98.20-hadoop2/tmp</value>

	</property>
	
	<property>
	
		<name>hbase.zookeeper.property.clientPort</name>
		
		<value>2181</value>
		
	</property>
	
	<property>
	
		<name>zookeeper.znode.parent</name>
		
		<value>/hbase-unsecure</value>
		
	</property>
	
	<property>
	
		<name>hbase.zookeeper.property.dataDir</name>
		
		<value>/home/ampmon/hadoop/zookeeper-3.4.6</value>
		
		<description>Property from ZooKeeper's config zoo.cfg.
			The directory where the snapshot is stored.
		</description>
		
	</property>
	
</configuration>


Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐