Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9734

Save 3-4 seconds by having master purge znode rather than wait on RS exit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • None
    • None
    • MTTR
    • None

    Description

      If RS is aborting (in my current case because SSR and ran out of DM), it will tell the Master its exiting by calling reportRSFatalError on the Master Interface. Master adds the RS to its list of fatal regionservers but that is about it.

      RS tries to clean up best as it can and exit out quickly but if carrying regions it can be seconds before it gets to the purge of its ephemeral node, and then the Master needs to notice it and only then can it start in on log splitting.

      RS should purge ephemeral node immediately on abort or Master needs to do it and start log splitting as soon as the RS reports fatal error. In my case here would save at least 4 seconds, a small cluster, with only a few regions so there is more to be had in a bigger setup.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: