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

Sean Owen resolved SPARK-16125.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.1

Issue resolved by pull request 13836
[https://github.com/apache/spark/pull/13836]

> 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
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to