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 08:18:05 UTC

[jira] [Updated] (SPARK-20806) Launcher: redundant check for Spark lib dir

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org