Unable to restart HBase when HDFS is shut down before HBase
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
Undecided
|
Hans Zeller |
Bug Description
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_
- Modify the swstopall script to call swstophbase after swstophadoop
- Run install_
- Do sqstart, sqlci initialize trafodion
- sqstop
- swstopall
- swstartall
- 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.
Fixed by changing the sequence of start/stop operations in the swstartall and swstopall shell scripts.