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

Document Scala environment configuration when Scala is installed from RPM

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.3, 0.8.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      As https://github.com/mesos/spark/pull/292 points out, the Typesafe Scala RPM installs the scala executable in /usr/bin/ and places the Scala library JARs in /usr/share/java/.

      That pull request added a SCALA_LIBRARY_PATH setting to support this method of installing Scala.

      We should document proper configuration of SCALA_LIBRARY_PATH and SCALA_HOME; right now, that pull request is the only documentation and it's implicit that the proper Debian / CentOS settings are SCALA_HOME=/usr/ and SCALA_LIBRARY_PATH=/usr/share/java/.

      I propose adding extra comments to the spark-conf.sh template that describe typical values for these settings. Maybe we also want to mention this in the docs somewhere?

        Attachments

          Activity

            People

            • Assignee:
              matei Matei Alexandru Zaharia
              Reporter:
              joshrosen Josh Rosen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: