If rows in .META. with no HRegionInfo cell, then hbck fails read of .META.
--------------------------------------------------------------------------

                 Key: HBASE-3297
                 URL: https://issues.apache.org/jira/browse/HBASE-3297
             Project: HBase
          Issue Type: Bug
            Reporter: stack
             Fix For: 0.90.0


hbck was aborting read of .META. because adding empty row to TreeSet, TreeSet 
complained Result is not Comparable -- which it is not.

Here is a fix:

{code}
@@ -81,7 +83,7 @@ public class HBaseFsck {
   private boolean rerun = false; // if we tried to fix something rerun hbck
   private static boolean summary = false; // if we want to print less output
   // Empty regioninfo qualifiers in .META.
-  private TreeSet<Result> emptyRegionInfoQualifiers = new TreeSet<Result>();
+  private Set<Result> emptyRegionInfoQualifiers = new HashSet<Result>();
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to