Marcelo Vanzin created SPARK-6473:
-------------------------------------

             Summary: Launcher lib shouldn't try to figure out Scala version 
when not in dev mode
                 Key: SPARK-6473
                 URL: https://issues.apache.org/jira/browse/SPARK-6473
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.4.0
            Reporter: Marcelo Vanzin
             Fix For: 1.4.0


Thanks to [~nravi] for pointing this out.

The launcher library currently always tries to figure out what's the build's 
scala version, even when it's not needed. That code is only used when setting 
some dev options, and relies on the layout of the build directories, so it 
doesn't work with the directory layout created by make-distribution.sh.

Right now this works on Linux because bin/load-spark-env.sh sets the Scala 
version explicitly, but it would break the distribution on Windows, for example.

Fix is pretty straight-forward.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to