You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peng Zhang (JIRA)" <ji...@apache.org> on 2016/06/22 05:59:57 UTC
[jira] [Comment Edited] (SPARK-16095) Yarn cluster mode should
return consistent result for command line and SparkLauncher
[ https://issues.apache.org/jira/browse/SPARK-16095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15343760#comment-15343760 ]
Peng Zhang edited comment on SPARK-16095 at 6/22/16 5:59 AM:
-------------------------------------------------------------
I want to make a unit test to explain this issue, but found YarnClusterSuite never run into block
{code}
if (conf.get("spark.master") == "yarn-cluster") {
}
{code}
And I filed SPARK-16125 to fix it first.
was (Author: peng.zhang):
I want to make a unit test to explain this issue, but found YarnClusterSuite doesn't run into block * if (conf.get("spark.master") == "yarn-cluster") *.
And I filed SPARK-16125 to fix it first.
> Yarn cluster mode should return consistent result for command line and SparkLauncher
> ------------------------------------------------------------------------------------
>
> Key: SPARK-16095
> URL: https://issues.apache.org/jira/browse/SPARK-16095
> Project: Spark
> Issue Type: Bug
> Components: YARN
> Affects Versions: 2.0.0
> Reporter: Peng Zhang
>
> For an application with YarnApplicationState.FINISHED and FinalApplicationStatus.FAILED, invoking spark-submit from command line will got Exception, submit with SparkLauncher will got state with FINISHED which means app succeeded.
> Also because the above fact, in test YarnClusterSuite, assert with false condition will not fail the test.
--
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