HDFS-7914. TestJournalNode#testFailToStartWithBadConfig fails when the default dfs.journalnode.http-address port 8480 is in use. (Contributed by Xiaoyu Yao)
This commit is contained in:
parent
f0dea037ff
commit
c239b6d376
|
@ -1190,6 +1190,10 @@ Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-7697. Mark the PB OIV tool as experimental. (Lei Xu via wheat9)
|
HDFS-7697. Mark the PB OIV tool as experimental. (Lei Xu via wheat9)
|
||||||
|
|
||||||
|
HDFS-7914. TestJournalNode#testFailToStartWithBadConfig fails when the
|
||||||
|
default dfs.journalnode.http-address port 8480 is in use. (Xiaoyu Yao via
|
||||||
|
Arpit Agarwal)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
||||||
|
|
|
@ -270,6 +270,7 @@ public class TestJournalNode {
|
||||||
public void testFailToStartWithBadConfig() throws Exception {
|
public void testFailToStartWithBadConfig() throws Exception {
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
conf.set(DFSConfigKeys.DFS_JOURNALNODE_EDITS_DIR_KEY, "non-absolute-path");
|
conf.set(DFSConfigKeys.DFS_JOURNALNODE_EDITS_DIR_KEY, "non-absolute-path");
|
||||||
|
conf.set(DFSConfigKeys.DFS_JOURNALNODE_HTTP_ADDRESS_KEY, "0.0.0.0:0");
|
||||||
assertJNFailsToStart(conf, "should be an absolute path");
|
assertJNFailsToStart(conf, "should be an absolute path");
|
||||||
|
|
||||||
// Existing file which is not a directory
|
// Existing file which is not a directory
|
||||||
|
|
Loading…
Reference in New Issue