Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20806

Launcher: redundant check for Spark lib dir

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.3.0
    • Component/s: Deploy, Spark Submit
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              srowen Sean Owen
              Reporter:
              Phoenix_Dad Phoenix_Dad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: