hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viraj...@apache.org
Subject [17/50] [abbrv] hadoop git commit: YARN-3568. TestAMRMTokens should use some random port. (Takashi Ohnishi via Subru).
Date Fri, 28 Oct 2016 18:04:15 GMT
YARN-3568. TestAMRMTokens should use some random port. (Takashi Ohnishi via Subru).


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/79ae78dc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/79ae78dc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/79ae78dc

Branch: refs/heads/HDFS-9806
Commit: 79ae78dcbec183ab53b26de408b4517e5a151878
Parents: b98fc82
Author: Subru Krishnan <subu@apache.org>
Authored: Thu Oct 27 15:11:12 2016 -0700
Committer: Subru Krishnan <subu@apache.org>
Committed: Thu Oct 27 15:11:12 2016 -0700

----------------------------------------------------------------------
 .../yarn/server/resourcemanager/security/TestAMRMTokens.java     | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/79ae78dc/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestAMRMTokens.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestAMRMTokens.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestAMRMTokens.java
index 4488ad6..bcf239d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestAMRMTokens.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestAMRMTokens.java
@@ -113,6 +113,8 @@ public class TestAMRMTokens {
             DEFAULT_RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS);
     conf.setLong(YarnConfiguration.RM_AM_EXPIRY_INTERVAL_MS,
         YarnConfiguration.DEFAULT_RM_AM_EXPIRY_INTERVAL_MS);
+    conf.set(YarnConfiguration.RM_SCHEDULER_ADDRESS,
+        "0.0.0.0:0");
 
     MyContainerManager containerManager = new MyContainerManager();
     final MockRMWithAMS rm =
@@ -230,6 +232,8 @@ public class TestAMRMTokens {
       YarnConfiguration.RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS,
       rolling_interval_sec);
     conf.setLong(YarnConfiguration.RM_AM_EXPIRY_INTERVAL_MS, am_expire_ms);
+    conf.set(YarnConfiguration.RM_SCHEDULER_ADDRESS,
+        "0.0.0.0:0");
     MyContainerManager containerManager = new MyContainerManager();
     final MockRMWithAMS rm =
         new MockRMWithAMS(conf, containerManager);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message