hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jia...@apache.org
Subject [22/50] [abbrv] hadoop git commit: YARN-6132. SliderClient bondToCluster should call findInstance with live states filter. Contributed by Gour Saha
Date Sat, 22 Apr 2017 07:39:44 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/9c2c7a53
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9c2c7a53
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9c2c7a53

Branch: refs/heads/yarn-native-services
Commit: 9c2c7a539f16f6ad2ffdf1fbb759c1826d8093af
Parents: 077eeee
Author: Billie Rinaldi <billie@apache.org>
Authored: Mon Jan 30 09:20:57 2017 -0800
Committer: Jian He <jianhe@apache.org>
Committed: Sat Apr 22 15:31:50 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/9c2c7a53/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