[
https://issues.apache.org/jira/browse/HBASE-16294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matteo Bertozzi updated HBASE-16294:
------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> hbck reporting "No HDFS region dir found" for replicas
> ------------------------------------------------------
>
> Key: HBASE-16294
> URL: https://issues.apache.org/jira/browse/HBASE-16294
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Affects Versions: 2.0.0, 1.3.0, 1.0.3, 1.4.0, 1.1.5, 1.2.2
> Reporter: Matteo Bertozzi
> Assignee: Umesh Agashe
> Priority: Minor
> Fix For: 2.0.0, 1.3.0, 1.4.0, 1.1.7, 1.2.4
>
> Attachments: HBASE-16294.v1.patch
>
>
> simple test, create a table with replicas and then run hbck.
> we don't filter out the replicas for the loadHdfsRegioninfo()
> {noformat}
> $ 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}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)