title: HBase - hbase:metadata holds info about non existing RegionServer ID - "Master startup cannot progress, in holding-pattern until region onlined."
body: <p>I cannot start Hbase Master because I am getting this error:</p>
  
  <pre><code>[Thread-18] master.HMaster: hbase:meta,,1.1588230740 
      is NOT online; state={1588230740 state=OPEN, ts=1569328636085, server=regionserver17,16020,1566375930434}; 
      ServerCrashProcedures=true. 
      Master startup cannot progress, in holding-pattern until region onlined.
  </code></pre>
  
  <p>Hbase Master is active and green but actually it is not started properly since it generates those WARNings in logs and actually I cannot even do the list in Hbase shell because then I get error: ERROR: <code>org.apache.hadoop.hbase.PleaseHoldException: Master is initializing</code></p>
  
  <p>hbase:meta is referencing some non existing ID 1566375930434 which does not exist in WALs nor in zookeeper-client /hbase-unsecure/rs list.</p>
  
  <p>I tried with these commands:</p>
  
  <pre><code>$ sudo -u hdfs hdfs dfs -rm -r /apps/hbase/data/WALs/
  
  $ zookeeper-client rmr /hbase-unsecure/rs
  </code></pre>
  
  <p>I also tried and this:</p>
  
  <pre><code>rm -f /var/lib/ambari-metrics-collector/hbase-tmp/zookeeper/zookeeper_0/version-2/*
  </code></pre>
  
  <p>and restarted the Hbase but still always having the same issue.
  If anyone can give me additional advice what to try.
  Thanks</p>