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

hbck reporting "No HDFS region dir found" for replicas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0, 1.0.3, 1.4.0, 1.1.5, 1.2.2, 2.0.0
    • 1.3.0, 1.1.7, 1.2.4, 2.0.0
    • hbck
    • None
    • Fixed warning error message displayed for region directory not found for non-default/ non-primary replicas in hbck

    Description

      simple test, create a table with replicas and then run hbck.
      we don't filter out the replicas for the loadHdfsRegioninfo()

      $ hbase shell
      hbase(main):001:0> create 'myTable', 'myCF', {REGION_REPLICATION => '3'}
      
      $ hbase hbck
      2016-07-27 13:47:38,090 WARN  [hbasefsck-pool1-t2] util.HBaseFsck: No HDFS region dir found: { meta => myTable,,1469652448440_0002.9dea3506e09e00910158dc91fa21e550., hdfs => null, deployed => u1604srv,42895,1469652420413;myTable,,1469652448440_0002.9dea3506e09e00910158dc91fa21e550., replicaId => 2 } meta={ENCODED => 9dea3506e09e00910158dc91fa21e550, NAME => 'myTable,,1469652448440_0002.9dea3506e09e00910158dc91fa21e550.', STARTKEY => '', ENDKEY => '', REPLICA_ID => 2}
      2016-07-27 13:47:38,092 WARN  [hbasefsck-pool1-t1] util.HBaseFsck: No HDFS region dir found: { meta => myTable,,1469652448440_0001.a03250bca30781ff7002a91c281b4e92., hdfs => null, deployed => u1604srv,42895,1469652420413;myTable,,1469652448440_0001.a03250bca30781ff7002a91c281b4e92., replicaId => 1 } meta={ENCODED => a03250bca30781ff7002a91c281b4e92, NAME => 'myTable,,1469652448440_0001.a03250bca30781ff7002a91c281b4e92.', STARTKEY => '', ENDKEY => '', REPLICA_ID => 1}
      

      Attachments

        1. HBASE-16294.v1.patch
          1 kB
          Umesh Agashe

        Activity

          People

            uagashe Umesh Agashe
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: