[
https://issues.apache.org/jira/browse/SPARK-20806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated SPARK-20806:
------------------------------
Summary: Launcher: redundant check for Spark lib dir (was:
Launcher:redundant code,invalid branch of judgment)
> Launcher: redundant check for Spark lib dir
> -------------------------------------------
>
> Key: SPARK-20806
> URL: https://issues.apache.org/jira/browse/SPARK-20806
> Project: Spark
> Issue Type: Improvement
> Components: Deploy, Spark Submit
> Affects Versions: 2.1.1
> Reporter: Phoenix_Dad
> Priority: Trivial
>
> 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: [email protected]
For additional commands, e-mail: [email protected]