Return-Path: X-Original-To: apmail-spark-commits-archive@minotaur.apache.org Delivered-To: apmail-spark-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D56F186CA for ; Tue, 8 Mar 2016 17:43:47 +0000 (UTC) Received: (qmail 84050 invoked by uid 500); 8 Mar 2016 17:43:47 -0000 Delivered-To: apmail-spark-commits-archive@spark.apache.org Received: (qmail 84024 invoked by uid 500); 8 Mar 2016 17:43:47 -0000 Mailing-List: contact commits-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@spark.apache.org Received: (qmail 84015 invoked by uid 99); 8 Mar 2016 17:43:47 -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; Tue, 08 Mar 2016 17:43:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5C9C0DFBD7; Tue, 8 Mar 2016 17:43:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vanzin@apache.org To: commits@spark.apache.org Message-Id: <457e21adb68449af8b54d11f086e46d6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: spark git commit: [HOTFIX][YARN] Fix yarn cluster mode fire and forget regression Date: Tue, 8 Mar 2016 17:43:47 +0000 (UTC) Repository: spark Updated Branches: refs/heads/master 7d05d02bf -> ca1a7b9d6 [HOTFIX][YARN] Fix yarn cluster mode fire and forget regression ## What changes were proposed in this pull request? Fire and forget is disabled by default, with this patch #10205 it is enabled by default, so this is a regression should be fixed. ## How was this patch tested? Manually verified this change. Author: jerryshao Closes #11577 from jerryshao/hot-fix-yarn-cluster. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ca1a7b9d Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ca1a7b9d Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ca1a7b9d Branch: refs/heads/master Commit: ca1a7b9d6acf8e1f9b6ab6265f9001c2c7ff8489 Parents: 7d05d02 Author: jerryshao Authored: Tue Mar 8 09:43:35 2016 -0800 Committer: Marcelo Vanzin Committed: Tue Mar 8 09:43:35 2016 -0800 ---------------------------------------------------------------------- yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/ca1a7b9d/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---------------------------------------------------------------------- diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala index 36073de..6ca9669 100644 --- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala +++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala @@ -89,7 +89,7 @@ private[spark] class Client( } } } - private val fireAndForget = isClusterMode && sparkConf.get(WAIT_FOR_APP_COMPLETION) + private val fireAndForget = isClusterMode && !sparkConf.get(WAIT_FOR_APP_COMPLETION) private var appId: ApplicationId = null --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org For additional commands, e-mail: commits-help@spark.apache.org