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

Stopping META/ROOT RS may take 50mins when some region is splitting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.1
    • 0.94.2
    • regionserver
    • None
    • Reviewed

    Description

      When we stop the RS carrying ROOT/META, if it is in the splitting for some region, the whole stopping process may take 50 mins.
      The reason is :
      1.ROOT/META region is closed when stopping the regionserver
      2.The Split Transaction failed updating META and it will retry
      3.The retry num is 100, and the total time is about 50 mins as default;
      This configuration is set by HConnectionManager#setServerSideHConnectionRetries

      I think 50 mins is too long to acceptable, my suggested solution is closing MetaTable regions after the compact/split thread is closed

      Attachments

        1. 6713.92-94
          3 kB
          Ted Yu
        2. 6713v3.patch
          3 kB
          Ted Yu
        3. HBASE-6713.patch
          3 kB
          Chunhui Shen
        4. HBASE-6713v2.patch
          3 kB
          Chunhui Shen

        Issue Links

          Activity

            People

              zjushch Chunhui Shen
              zjushch Chunhui Shen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: