- HMaster is starting , but shutdown command comes before scan(RPC).
- The shutdown will clean the Leases(shared memory).
- scan will read the Leases, but get null
- LeaseException is thrown back to HMaster.
- HMaster can't handle the exception and startup fails
- Shutdown command must comes before scan, and sleep is important.
pre-read
org.apache.hadoop.hbase.client.ScannerCallable openScanner 330