HBASE-8567 TestDistributedLogSplitting#testLogReplayForDisablingTable fails on hadoop 2.0 (Jefferey)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1483982 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2013-05-17 20:39:51 +00:00
parent 13483015c9
commit d783067a3d
1 changed files with 1 additions and 0 deletions

View File

@ -771,6 +771,7 @@ public class TestDistributedLogSplitting {
Path editsdir =
HLogUtil.getRegionDirRecoveredEditsDir(HRegion.getRegionDir(tdir, hri.getEncodedName()));
LOG.debug("checking edits dir " + editsdir);
if(!fs.exists(editsdir)) continue;
FileStatus[] files = fs.listStatus(editsdir);
if(files != null) {
for(FileStatus file : files) {