You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/06/24 07:31:16 UTC
[jira] [Updated] (SPARK-16125) YarnClusterSuite test cluster mode
incorrectly
[ https://issues.apache.org/jira/browse/SPARK-16125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-16125:
------------------------------
Assignee: Peng Zhang
> YarnClusterSuite test cluster mode incorrectly
> ----------------------------------------------
>
> Key: SPARK-16125
> URL: https://issues.apache.org/jira/browse/SPARK-16125
> Project: Spark
> Issue Type: Bug
> Components: YARN
> Reporter: Peng Zhang
> Assignee: Peng Zhang
> Priority: Minor
> Fix For: 2.0.1
>
>
> In YarnClusterSuite, it test cluster mode with:
> {code}
> if (conf.get("spark.master") == "yarn-cluster") {
> {code}
> But since SPARK-13220 change, conf.get("spark.master") will get "yarn". So this *if* condition will always be *false*, and coding in this block will never be executed. I thinks it should change to:
> {code}
> if (conf.get("spark.submit.deployMode") == "cluster") {
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org