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

list_regions may throw an error if a region is RIT

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The 'list_regions' shell command gets a list of regions for a given table and then prints them and some attributes such as the server where they are located, current request count, data locality, and such.

      However if a region is in transition the command might fail with

      ERROR: undefined method `getDataLocality' for nil:NilClass

      and there may be other ways this can happen. Protect against use of nil references and just display what we can.

        Attachments

        1. HBASE-22735.branch-1.01.patch
          6 kB
          Viraj Jasani
        2. HBASE-22735.branch-1.02.patch
          19 kB
          Viraj Jasani
        3. HBASE-22735.branch-1.03.patch
          14 kB
          Viraj Jasani
        4. HBASE-22735.branch-1.04.patch
          14 kB
          Viraj Jasani
        5. HBASE-22735.master.01.patch
          4 kB
          Viraj Jasani
        6. HBASE-22735.master.02.patch
          6 kB
          Viraj Jasani
        7. HBASE-22735.master.03.patch
          6 kB
          Viraj Jasani
        8. HBASE-22735.master.04.patch
          6 kB
          Viraj Jasani
        9. HBASE-22735-master-tmp-justforreview.patch
          10 kB
          Viraj Jasani
        10. Screen Shot 2019-07-30 at 11.53.53 PM.png
          223 kB
          Viraj Jasani

          Issue Links

            Activity

              People

              • Assignee:
                vjasani Viraj Jasani
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: