You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/01/11 15:38:41 UTC

[05/23] ambari git commit: Revert "AMBARI-14512. Add service check script for spark (Jeff Zhang via smohanty)"

Revert "AMBARI-14512. Add service check script for spark (Jeff Zhang via smohanty)"

This reverts commit aa8c7fad8686af8933b7fec7c2aad3de765a800a.


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: c484c905d6d6a5936bc54311b152c9e20d329f6b
Parents: 6633c6e
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Fri Jan 8 18:47:31 2016 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Fri Jan 8 18:47:31 2016 -0800

----------------------------------------------------------------------
 .../SPARK/1.2.0.2.2/package/scripts/service_check.py        | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c484c905/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/service_check.py
index c004654..694f046 100644
--- a/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/service_check.py
@@ -39,14 +39,5 @@ class SparkServiceCheck(Script):
       logoutput=True
     )
 
-    # Run SparkPi to verify spark
-    if Script.is_hdp_stack_greater_or_equal("2.4"):
-      command = "spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client /usr/hdp/current/spark-client/lib/spark-examples*.jar 10"
-      Execute(command,
-        tries = 10,
-        try_sleep = 3,
-        user = params.spark_user,
-        logoutput=True)
-
 if __name__ == "__main__":
   SparkServiceCheck().execute()