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

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1041164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-01 20:54:56 +00:00
parent d4eeff6d35
commit 621b7d0ed2
2 changed files with 5 additions and 1 deletions

View File

@ -727,6 +727,8 @@ Release 0.90.0 - Unreleased
HBASE-3263 Stack overflow in AssignmentManager
HBASE-3234 hdfs-724 "breaks" TestHBaseTestingUtility multiClusters
HBASE-3286 Master passes IP and not hostname back to region server
HBASE-3297 If rows in .META. with no HRegionInfo cell, then hbck fails read
of .META.
IMPROVEMENTS

View File

@ -26,6 +26,8 @@ import java.util.Comparator;
import java.util.List;
import java.util.TreeMap;
import java.util.TreeSet;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.commons.logging.Log;
@ -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>();
/**
* Constructor