hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gourks...@apache.org
Subject hadoop git commit: YARN-5996. Native services AM kills app on AMRMClientAsync onError call. Contributed by Billie Rinaldi
Date Fri, 16 Dec 2016 20:12:42 GMT
Repository: hadoop
Updated Branches:
  refs/heads/yarn-native-services de82afc8a -> 4ce02c35e


YARN-5996. Native services AM kills app on AMRMClientAsync onError call. Contributed by Billie
Rinaldi


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

Branch: refs/heads/yarn-native-services
Commit: 4ce02c35e81225f3cb39b4a1221ddc65efcb23a4
Parents: de82afc
Author: Gour Saha <gourksaha@apache.org>
Authored: Fri Dec 16 12:09:29 2016 -0800
Committer: Gour Saha <gourksaha@apache.org>
Committed: Fri Dec 16 12:09:29 2016 -0800

----------------------------------------------------------------------
 .../org/apache/slider/server/appmaster/SliderAppMaster.java   | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4ce02c35/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.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/server/appmaster/SliderAppMaster.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
index 74dbc88..611a3e5 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
@@ -1937,12 +1937,7 @@ public class SliderAppMaster extends AbstractSliderLaunchedService
 
   @Override //AMRMClientAsync
   public void onError(Throwable e) {
-    //callback says it's time to finish
-    LOG_YARN.error("AMRMClientAsync.onError() received {}", e, e);
-    signalAMComplete(new ActionStopSlider("stop",
-        EXIT_EXCEPTION_THROWN,
-        FinalApplicationStatus.FAILED,
-        "AMRMClientAsync.onError() received " + e));
+    LOG_YARN.info("Ignoring AMRMClientAsync.onError() received {}", e);
   }
   
 /* =================================================================== */


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