HBASE-1215 migration; fixes for jgray -- make HStoreFileToStoreFile implement Tool so can pass params

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@797234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-07-23 21:36:19 +00:00
parent a190929981
commit 97b6100e54

View File

@ -115,7 +115,7 @@ public class HStoreFileToStoreFile extends Configured implements Tool {
Path family = familyDirs[k].getPath(); Path family = familyDirs[k].getPath();
FileStatus [] infoAndMapfile = fs.listStatus(family); FileStatus [] infoAndMapfile = fs.listStatus(family);
// Assert that only info and mapfile in family dir. // Assert that only info and mapfile in family dir.
if (infoAndMapfile.length != 0 && infoAndMapfile.length != 2) { if (infoAndMapfile.length != 2) {
LOG.warn(family.toString() + " has more than just info and mapfile: " + LOG.warn(family.toString() + " has more than just info and mapfile: " +
infoAndMapfile.length + ". Continuing..."); infoAndMapfile.length + ". Continuing...");
continue; continue;