Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 672 Bytes

HBASE-22017.md

File metadata and controls

23 lines (15 loc) · 672 Bytes

HBASE-22017

Scenario

Figure:HBASE-22017
  1. HMaster is starting , but shutdown command comes before scan(RPC).
  2. The shutdown will clean the Leases(shared memory).
  3. scan will read the Leases, but get null
  4. LeaseException is thrown back to HMaster.
  5. HMaster can't handle the exception and startup fails

Trigger analysis

  1. Shutdown command must comes before scan, and sleep is important.

pre-read

org.apache.hadoop.hbase.client.ScannerCallable openScanner 330