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

Create shell command to identify regions with poor locality

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • shell
    • None
    • Reviewed

    Description

      The data locality of regions often plays a large role in the efficiency of HBase. Compactions are also expensive to execute, especially on very large tables. The balancer can do a good job trying to maintain locality (when tuned properly), but it is not perfect.

      This creates a less-than-desirable situation where it's a costly operation to take a cluster with spotty poor locality (e.g. a small percentage of regionservers with poor locality).

      We already have this information available via the ClusterStatus proto. We can easily write a shell command that can present regions which are lacking a certain percentage of locality.

      Attachments

        1. HBASE-17973.001.patch
          10 kB
          Josh Elser
        2. HBASE-17973.002.patch
          10 kB
          Josh Elser
        3. HBASE-17973.003.patch
          4 kB
          Josh Elser
        4. HBASE-17973.branch-1.001.patch
          14 kB
          Karan Mehta

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: