hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-3297) If rows in .META. with no HRegionInfo cell, then hbck fails read of .META.
Date Wed, 01 Dec 2010 20:57:10 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-3297.
--------------------------

    Resolution: Fixed

Committed small easily verifiable fix.

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


Mime
View raw message