ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject ambari git commit: Revert "AMBARI-14512. Add service check script for spark (Jeff Zhang via smohanty)"
Date Sat, 09 Jan 2016 02:47:48 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6633c6e7b -> c484c905d


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/trunk
Commit: c484c905d6d6a5936bc54311b152c9e20d329f6b
Parents: 6633c6e
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Fri Jan 8 18:47:31 2016 -0800
Committer: Sumit Mohanty <smohanty@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()


Mime
View raw message