After hadoop namenode is reformatted, The hmaster process of hbase disappears immediately after it is started. hbasehmaster
After the hadoop namenode is re-formatted, restart hbase and find that its hmaster process disappears immediately after it is started. Check A Lot Of logs. Finally, the following problems are found in the log of zookeeper:
Unable to read additional data from client sessionid 0x14e86607c850007, likely client has closed socket
Solution: Delete the directory in the path configured in the hdfs-site.xml of hbase, restart the zookeeper cluster, and then restart hbase to regenerate the directory.
<Property>
<Name> hbase. zookeeper. property. dataDir </name>
<Value>/home/lee/opt/zookeeper_data00 </value>
</Property>
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.