You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2016/01/09 03:46:56 UTC
ambari git commit: Revert "AMBARI-14512. Add service check script for
spark (Jeff Zhang via smohanty)"
Repository: ambari
Updated Branches:
refs/heads/branch-2.2 6392fdc78 -> 317b123bf
Revert "AMBARI-14512. Add service check script for spark (Jeff Zhang via smohanty)"
This reverts commit a6d73a064cd10bb0e8672a6628133ad26ff4ea32.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/317b123b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/317b123b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/317b123b
Branch: refs/heads/branch-2.2
Commit: 317b123bf08face093605a3088fe85820fab81a8
Parents: 6392fdc
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Fri Jan 8 18:46:32 2016 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Fri Jan 8 18:46:32 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/317b123b/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()