GitHub user berngp opened a pull request:
https://github.com/apache/incubator-spark/pull/627
SPARK-3: The spark-shell fails under a dist.
Problem:
The spark-shell will fail to start when Spark is deployed using the
tar.gz file built by ./make-distribution. The problem is generated
by the spark-class shell that fails to setup a CLASSPATH if
Spark is a RELEASE.
Fix:
The script `spark-class` now sets the CLASSPATH if it is a RELEASE/dist
by pointing to the only assembly that should exist in the `./jars`
Environment:
*NIX environments. A similar change should be applied to
`spark-class.cmd`.
[ticket: SPARK-3] : https://issues.apache.org/jira/browse/SPARK-3
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/berngp/incubator-spark hotfix/SPARK-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-spark/pull/627.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #627
----
commit f1d6fdc3c119b972dd2f093c45c6f91a7c8d4a82
Author: Bernardo Gomez Palacio <[email protected]>
Date: 2014-02-21T09:44:41Z
SPARK-3: The spark-shell fails under a dist.
Problem:
The spark-shell will fail to start when Spark is deployed using the
tar.gz file built by ./make-distribution. The problem is generated
by the spark-class shell that fails to setup a CLASSPATH if
Spark is a RELEASE.
Fix:
The script `spark-class` now sets the CLASSPATH if it is a RELEASE/dist
by pointing to the only assembly that should exist in the `./jars`
Environment:
*NIX environments. A similar change should be applied to
`spark-class.cmd`.
[ticket: SPARK-3] : https://issues.apache.org/jira/browse/SPARK-3
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
[email protected] or file a JIRA ticket with INFRA.
---