[ https://issues.apache.org/jira/browse/SPARK-16125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345438#comment-15345438 ]
Apache Spark commented on SPARK-16125: -------------------------------------- User 'renozhang' has created a pull request for this issue: 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 > > 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