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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/mmm333zzz/article/details/51760298


解决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>


猜你喜欢

转载自blog.csdn.net/mmm333zzz/article/details/51760298
今日推荐