From 3532bd5c8b7a0593e67c0830b0d5ad10074309cf Mon Sep 17 00:00:00 2001 From: Rohith Sharma K S Date: Fri, 17 Aug 2018 11:11:56 +0530 Subject: [PATCH] YARN-8612. Fix NM Collector Service Port issue in YarnConfiguration. Contributed by Prabha Manepalli. (cherry picked from commit 1697a0230696e1ed6d9c19471463b44a6d791dfa) --- .../java/org/apache/hadoop/yarn/conf/YarnConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java index 5f2f98552d3..affa76a1604 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java @@ -1196,7 +1196,7 @@ public class YarnConfiguration extends Configuration { NM_PREFIX + "collector-service.address"; public static final int DEFAULT_NM_COLLECTOR_SERVICE_PORT = 8048; public static final String DEFAULT_NM_COLLECTOR_SERVICE_ADDRESS = - "0.0.0.0:" + DEFAULT_NM_LOCALIZER_PORT; + "0.0.0.0:" + DEFAULT_NM_COLLECTOR_SERVICE_PORT; /** Interval in between cache cleanups.*/ public static final String NM_LOCALIZER_CACHE_CLEANUP_INTERVAL_MS =