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

Add a command to compact all the regions in a regionserver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.98.8, 0.99.2
    • shell
    • None
    • Reviewed

    Description

      When adding a new regionserver to the hbase cluster, the data locality of the regions in the new regionserver is very low. Most read hdfs requests from these regions are remote read, not local read. So, the latency of read request to these regions is not stable.
      Usually we can compact all the regions in the new regionserver to improve the data locality in offpeak.

      So we add a command: compact_rs in hbase shell.

      Attachments

        1. HBASE-12434-v1.diff
          5 kB
          Shaohui Liu
        2. HBASE-12434-0.98.patch
          5 kB
          Andrew Kyle Purtell

        Activity

          People

            liushaohui Shaohui Liu
            liushaohui Shaohui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: