HDFS-7105. Fix TestJournalNode#testFailToStartWithBadConfig to match log output change. Contributed by Ray Chiang.
(cherry picked from commit 332e2e23ba
)
This commit is contained in:
parent
eec927f3fc
commit
9ee5e26cbb
|
@ -560,6 +560,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
HDFS-7051. TestDataNodeRollingUpgrade#isBlockFileInPrevious assumes Unix file
|
HDFS-7051. TestDataNodeRollingUpgrade#isBlockFileInPrevious assumes Unix file
|
||||||
path separator. (cnauroth)
|
path separator. (cnauroth)
|
||||||
|
|
||||||
|
HDFS-7105. Fix TestJournalNode#testFailToStartWithBadConfig to match log
|
||||||
|
output change. (Ray Chiang via cnauroth)
|
||||||
|
|
||||||
Release 2.5.1 - 2014-09-05
|
Release 2.5.1 - 2014-09-05
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -292,7 +292,7 @@ public class TestJournalNode {
|
||||||
// Directory which cannot be created
|
// Directory which cannot be created
|
||||||
conf.set(DFSConfigKeys.DFS_JOURNALNODE_EDITS_DIR_KEY,
|
conf.set(DFSConfigKeys.DFS_JOURNALNODE_EDITS_DIR_KEY,
|
||||||
Shell.WINDOWS ? "\\\\cannotBeCreated" : "/proc/does-not-exist");
|
Shell.WINDOWS ? "\\\\cannotBeCreated" : "/proc/does-not-exist");
|
||||||
assertJNFailsToStart(conf, "Can not create directory");
|
assertJNFailsToStart(conf, "Cannot create directory");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void assertJNFailsToStart(Configuration conf,
|
private static void assertJNFailsToStart(Configuration conf,
|
||||||
|
|
Loading…
Reference in New Issue