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