hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jia...@apache.org
Subject [42/50] [abbrv] hadoop git commit: YARN-6132. SliderClient bondToCluster should call findInstance with live states filter. Contributed by Gour Saha
Date Tue, 18 Apr 2017 06:08:16 GMT
YARN-6132. SliderClient bondToCluster should call findInstance with live states filter. Contributed
by Gour Saha


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

Branch: refs/heads/yarn-native-services
Commit: 2b808f2c452569fcacf8d79c66fce04daf723396
Parents: 5f28a2a
Author: Billie Rinaldi <billie@apache.org>
Authored: Mon Jan 30 09:20:57 2017 -0800
Committer: Jian He <jianhe@apache.org>
Committed: Tue Apr 18 11:24:19 2017 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/slider/client/SliderClient.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2b808f2c/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/client/SliderClient.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/client/SliderClient.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/client/SliderClient.java
index 032eb6e..e84809a 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/client/SliderClient.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/client/SliderClient.java
@@ -3519,7 +3519,8 @@ public class SliderClient extends AbstractSliderLaunchedService implements
RunSe
     if (clustername == null) {
       throw unknownClusterException("(undefined)");
     }
-    ApplicationReport instance = findInstance(clustername);
+    ApplicationReport instance = findInstance(clustername,
+        SliderUtils.getAllLiveAppStates());
     if (null == instance) {
       throw unknownClusterException(clustername);
     }


---------------------------------------------------------------------
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