We found this problem when our swstopall script shut down HBase after shutting down HDFS, while storing HBase data in HDFS. When we did this, the HMaster process was unable to complete initialization when HDFS/HBase were restarted.
Method to reproduce:
- Use a recent build (with install_local_hadoop using HDFS storage for HBase)
- Modify the swstopall script to call swstophbase after swstophadoop
- Run install_local_hadoop
- Do sqstart, sqlci initialize trafodion
- hbase shell status 'detailed'
The status 'detailed' command will not list all the metadata tables. Also, the HBase output file will not have the "org.apache.hadoop.hbase.master.HMaster: Master has completed initialization" message. The HMaster will die after a while.