You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Phoenix_Dad (JIRA)" <ji...@apache.org> on 2017/05/19 06:48:04 UTC

[jira] [Created] (SPARK-20806) Launcher:redundant code,invalid branch of judgment

Phoenix_Dad created SPARK-20806:
-----------------------------------

             Summary: 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