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 2017/05/19 06:53:04 UTC
[jira] [Resolved] (SPARK-20806) Launcher:redundant code,invalid branch of judgment
[ https://issues.apache.org/jira/browse/SPARK-20806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-20806.
-------------------------------
Resolution: Invalid
It's hard to understand what you're describing.
But I looked at the code you describe and the logic is fine. The argument failfNotFound is not always true/false.
> Launcher:redundant code,invalid branch of judgment
> --------------------------------------------------
>
> Key: SPARK-20806
> URL: https://issues.apache.org/jira/browse/SPARK-20806
> Project: Spark
> Issue Type: Bug
> Components: Deploy, Spark Submit
> Affects Versions: 2.1.1
> Reporter: Phoenix_Dad
>
> org.apache.spark.launcher.CommandBuilderUtils
> In findJarsDir function, there is an “if or else” branch .
> the first input argument of 'checkState' in 'if' subclause is always true, so 'checkState' is useless here
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org