[ 
https://issues.apache.org/jira/browse/SPARK-16125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-16125:
------------------------------------

    Assignee: Apache Spark

> 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: Apache Spark
>            Priority: Minor
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to