joshelser commented on a change in pull request #45: HBASE-23371 [HBCK2] 
Provide client side method for removing ghost regions in meta.
URL: 
https://github.com/apache/hbase-operator-tools/pull/45#discussion_r369694185
 
 

 ##########
 File path: hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java
 ##########
 @@ -843,22 +868,34 @@ private static String toString(List<?> things) {
   }
 
   private String formatMissingRegionsInMetaReport(Map<TableName,List<Path>> 
report) {
+    Function<Path,String> resolver = r -> r.getName();
+    String message = "Missing Regions for each table:\n\t";
+    return formatReportMessage(message, new HashMap<>(report), resolver);
 
 Review comment:
   Just cast this instead of creating a brand new HashMap?

----------------------------------------------------------------
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