HBASE-12532 TestFilter failing occasionally with ExitCodeException doing chmod since HBASE-10378 ADDENDUM

This commit is contained in:
stack 2014-11-18 23:41:35 -08:00
parent d87c550b94
commit 640274d5e1
1 changed files with 2 additions and 1 deletions

View File

@ -4569,7 +4569,8 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver { //
confForWAL.set(HConstants.HBASE_DIR, rootDir.toString());
effectiveWAL = (new WALFactory(confForWAL,
Collections.<WALActionsListener>singletonList(new MetricsWAL()),
"hregion-" + RandomStringUtils.randomAscii(8))).getWAL(info.getEncodedNameAsBytes());
"hregion-" + RandomStringUtils.randomNumeric(8))).
getWAL(info.getEncodedNameAsBytes());
}
HRegion region = HRegion.newHRegion(tableDir,
effectiveWAL, fs, conf, info, hTableDescriptor, null);