Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FCE118C80 for ; Mon, 9 Nov 2015 01:29:23 +0000 (UTC) Received: (qmail 88781 invoked by uid 500); 9 Nov 2015 01:29:23 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 88741 invoked by uid 500); 9 Nov 2015 01:29:23 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 88728 invoked by uid 99); 9 Nov 2015 01:29:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2015 01:29:23 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D3F54E0A1B; Mon, 9 Nov 2015 01:29:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: smohanty@apache.org To: commits@ambari.apache.org Date: Mon, 09 Nov 2015 01:29:22 -0000 Message-Id: <5d5b6318e5ee431fbaaea3fd31245b32@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] ambari git commit: AMBARI-13650. Bump the Ambari Spark definition to Spark 1.5.1 (Saisai Shao via smohanty) Repository: ambari Updated Branches: refs/heads/trunk 66e2eb424 -> 618d843c1 AMBARI-13650. Bump the Ambari Spark definition to Spark 1.5.1 (Saisai Shao via smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/db224500 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/db224500 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/db224500 Branch: refs/heads/trunk Commit: db224500f253f2bd6c842f9097efe572943001cf Parents: 66e2eb4 Author: Sumit Mohanty Authored: Sun Nov 8 17:13:35 2015 -0800 Committer: Sumit Mohanty Committed: Sun Nov 8 17:13:35 2015 -0800 ---------------------------------------------------------------------- .../1.2.0.2.2/configuration/spark-defaults.xml | 17 ++----- .../SPARK/1.5.1.2.3/metainfo.xml | 50 ++++++++++++++++++++ .../configuration/spark-thrift-sparkconf.xml | 13 +---- .../stacks/HDP/2.3/services/SPARK/metainfo.xml | 45 ++---------------- 4 files changed, 60 insertions(+), 65 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/db224500/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/configuration/spark-defaults.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/configuration/spark-defaults.xml b/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/configuration/spark-defaults.xml index 8b13779..05d1a3a 100644 --- a/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/configuration/spark-defaults.xml +++ b/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/configuration/spark-defaults.xml @@ -42,15 +42,6 @@ - spark.yarn.applicationMaster.waitTries - 10 - - Set the number of times the ApplicationMaster waits for the the Spark master and then - also the number of tries it waits for the SparkContext to be initialized. - - - - spark.yarn.scheduler.heartbeat.interval-ms 5000 @@ -95,7 +86,7 @@ spark.yarn.preserve.staging.files false - Set to true to preserve the staged files (Spark jar, app jar, distributed cache files) at the + Set to true to preserve the staged files (Spark jar, app jar, distributed cache files) at the end of the job rather then delete them. @@ -161,19 +152,19 @@ Location of the kerberos keytab file for the Spark History Server. - + spark.history.provider org.apache.spark.deploy.yarn.history.YarnHistoryProvider Name of history provider class - + spark.yarn.historyServer.address {{spark_history_server_host}}:{{spark_history_ui_port}} The address of the Spark history server (i.e. host.com:18080). The address should not contain a scheme (http://). Defaults to not being set since the history server is an optional service. This address is given to the YARN ResourceManager when the Spark application finishes to link the application from the ResourceManager UI to the Spark history server UI. - + spark.yarn.max.executor.failures 3 http://git-wip-us.apache.org/repos/asf/ambari/blob/db224500/ambari-server/src/main/resources/common-services/SPARK/1.5.1.2.3/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/SPARK/1.5.1.2.3/metainfo.xml b/ambari-server/src/main/resources/common-services/SPARK/1.5.1.2.3/metainfo.xml new file mode 100644 index 0000000..190d892 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/SPARK/1.5.1.2.3/metainfo.xml @@ -0,0 +1,50 @@ + + + + 2.0 + + + SPARK + common-services/SPARK/1.4.1.2.3 + Spark + Apache Spark is a fast and general engine for large-scale data processing. + 1.5.1.2.3 + + + spark-defaults + spark-env + spark-log4j-properties + spark-metrics-properties + spark-javaopts-properties + spark-thrift-sparkconf + spark-hive-site-override + + + + + PYTHON + 300 + + + + YARN + + + + http://git-wip-us.apache.org/repos/asf/ambari/blob/db224500/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-thrift-sparkconf.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-thrift-sparkconf.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-thrift-sparkconf.xml index c42841f..41d2e21 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-thrift-sparkconf.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-thrift-sparkconf.xml @@ -42,15 +42,6 @@ - spark.yarn.applicationMaster.waitTries - 10 - - Set the number of times the ApplicationMaster waits for the the Spark master and then - also the number of tries it waits for the SparkContext to be initialized. - - - - spark.yarn.scheduler.heartbeat.interval-ms 5000 @@ -95,7 +86,7 @@ spark.yarn.preserve.staging.files false - Set to true to preserve the staged files (Spark jar, app jar, distributed cache files) at the + Set to true to preserve the staged files (Spark jar, app jar, distributed cache files) at the end of the job rather then delete them. @@ -115,7 +106,7 @@ Specifies the parameters that are passed to the JVM of the Spark Application Master. - + spark.yarn.max.executor.failures 3 http://git-wip-us.apache.org/repos/asf/ambari/blob/db224500/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/metainfo.xml index 14161b4..0e20794 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/metainfo.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/metainfo.xml @@ -23,8 +23,8 @@ SPARK - 1.4.1.2.3 - common-services/SPARK/1.3.1.2.3 + 1.5.1.2.3 + common-services/SPARK/1.4.1.2.3 redhat7,redhat6,suse11 @@ -52,44 +52,7 @@ YARN - - - SPARK_THRIFTSERVER - Spark Thrift Server - true - MASTER - 0+ - true - - - HDFS/HDFS_CLIENT - host - - true - - - - MAPREDUCE2/MAPREDUCE2_CLIENT - host - - true - - - - YARN/YARN_CLIENT - host - - true - - - - - - PYTHON - 600 - - - + spark-defaults spark-env @@ -98,7 +61,7 @@ spark-javaopts-properties spark-thrift-sparkconf spark-hive-site-override - +