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

[hbck] Fix should be able to fill info:regioninfo if matching region in fs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      On Mozilla cluster, hbck reported empty info:regioninfo but then also that there were regions in fs that were not deployed. At least one of these regions w/ an empty info:regioninfo matches to the region in fs that is not in the .META. hbck should be able to pick up the region from ms and fix the .META. entry on --fix.

      Version: 0.90.1-cdh3u0
      ...................................................
      Number of Tables: 14
      Number of live region servers: 29
      Number of dead region servers: 27
      ..Number of empty REGIONINFO_QUALIFIER rows in .META.: 10
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/10111f37472811e5e86534790bb10e3c on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/1bcaf00897a749ea6a0d0bf1ce709116 on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/375913d5c0f5ed4180c0d4506c53fd1d on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/5a1fa81ddf4bac6c7f6483d803d5cc30 on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/6240f00ac370c186e44d189d0a52c8e7 on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/6bd89ea69b8a4886fed3dfe93ab5e5aa on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/716695118671df66d9d1b883f1aeae56 on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/805ce44ef7e6aa7fa1603c422f808a3a on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/8ed41d06b2c8e937cf460ce5e41ecbf9 on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/8faa71d5e90aa82570df036515f752e4 on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/938f334ca6399ce5a17d33dc1a045d8d on HDFS, b
      ut not listed in META or deployed on any region server.
      ERROR: Region hdfs://hp-admin01.phx1.mozilla.com:8020/hbase/crash_reports/cd673fbac6f8f88f87c81f3bdd3a1ed8 on HDFS, b
      ut not listed in META or deployed on any region server.
      

      Attachments

        1. addregion.rb
          3 kB
          Harsh J
        2. addregion.rb
          3 kB
          Michael Stack

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: