From 9352ecfb0417c0702d2cb98927ccdef4c83c098b Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Wed, 3 May 2017 13:48:06 -0700 Subject: [PATCH] HDFS-11747. Ozone : need to fix OZONE_SCM_DEFAULT_PORT. Contributed by Chen Liang. --- .../src/main/java/org/apache/hadoop/scm/ScmConfigKeys.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/scm/ScmConfigKeys.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/scm/ScmConfigKeys.java index 526d6b7aafe..e779247652c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/scm/ScmConfigKeys.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/scm/ScmConfigKeys.java @@ -131,7 +131,8 @@ public final class ScmConfigKeys { // able to send back a new list to the datanodes. public static final String OZONE_SCM_NAMES = "ozone.scm.names"; - public static final int OZONE_SCM_DEFAULT_PORT = 9862; + public static final int OZONE_SCM_DEFAULT_PORT = + OZONE_SCM_DATANODE_PORT_DEFAULT; // File Name and path where datanode ID is to written to. // if this value is not set then container startup will fail. public static final String OZONE_SCM_DATANODE_ID = "ozone.scm.datanode.id";