jatsakthi commented on a change in pull request #14: HBASE-22843 [HBCK2] Fix 
HBCK2 after HBASE-22777 & HBASE-22758
URL: 
https://github.com/apache/hbase-operator-tools/pull/14#discussion_r314434338
 
 

 ##########
 File path: 
hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsckRepair.java
 ##########
 @@ -200,6 +200,6 @@ public static HRegion createHDFSRegionDir(Configuration 
conf,
    */
   public static void removeParentInMeta(Configuration conf, RegionInfo hri) 
throws IOException {
     Connection conn = ConnectionFactory.createConnection(conf);
-    MetaTableAccessor.deleteRegion(conn, hri);
 
 Review comment:
   HBCKMTA is being used in 2 places as of now. 
   
   `List<RegionInfo> mergeParents = 
HBCKMetaTableAccessor.getMergeRegions(result.rawCells());` in hbck1.HbaseFsck
   
   `HBCKMetaTableAccessor.deleteRegionInfo(conn, hri);` in hbck1.HbaseFsckRepair

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to