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

Not suitable error message in spark-shell.cmd

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1, 1.2.0
    • None
    • None

    Description

      In Windows environment.
      When we execute bin\spark-shell.cmd before we build spark, we get the error message like this.

      Failed to find Spark assembly JAR.
      You need to build Spark with sbt\sbt assembly before running this program.

      But this message is not suitable because ...

      • Maven is also available to build Spark, and it works in Windows without cygwin now (SPARK-3061).
      • The equivalent error message of linux version (bin/spark-shell) doesn't mention the way to build.

        You need to build Spark before running this program.

      • sbt\sbt can't be executed in Windows without cygwin because it's bash script.

      So this message should be modified as same as the linux version.

      Attachments

        Activity

          People

            tsudukim Masayoshi Tsuzuki
            tsudukim Masayoshi Tsuzuki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: