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:
parent
a190929981
commit
97b6100e54
|
@ -115,7 +115,7 @@ public class HStoreFileToStoreFile extends Configured implements Tool {
|
|||
Path family = familyDirs[k].getPath();
|
||||
FileStatus [] infoAndMapfile = fs.listStatus(family);
|
||||
// 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: " +
|
||||
infoAndMapfile.length + ". Continuing...");
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue