spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From van...@apache.org
Subject spark git commit: [HOTFIX][YARN] Fix yarn cluster mode fire and forget regression
Date Tue, 08 Mar 2016 17:43:47 GMT
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 <sshao@hortonworks.com>

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 <sshao@hortonworks.com>
Authored: Tue Mar 8 09:43:35 2016 -0800
Committer: Marcelo Vanzin <vanzin@cloudera.com>
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


Mime
View raw message