taklwu opened a new pull request #2113:
URL: https://github.com/apache/hbase/pull/2113


   …ting a new cluster pointing at the same file system
   
   HBase currently does not handle `Unknown Servers` automatically and requires
   users to run hbck2 `scheduleRecoveries` when one see unknown servers on
   the HBase report UI.
   
   This became a blocker on HBase2 adoption especially when a table wasn't
   disabled before shutting down a HBase cluster on cloud or any dynamic
   environment that hostname may change frequently. Once the cluster restarts,
   hbase:meta will be keeping the old hostname/IPs for the previous cluster,
   and those region servers became `Unknown Servers` and will never be recycled.
   
   Our fix here is to trigger a repair immediately after the CatalogJanitor
   figured out any `Unknown Servers` with submitting a HBCKServerCrashProcedure
   such that regions on `Unknown Server ` can be reassigned to other online
   servers.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to