Skip to content

Conversation

bouk
Copy link
Contributor

@bouk bouk commented May 5, 2014

This is needed because broadcast values are broken on pyspark on Mesos, it tries to import pyspark but can't, as the PYTHONPATH is not set due to changes in ff5be9a

https://issues.apache.org/jira/browse/SPARK-1725

This is needed because broadcast values are broken on pyspark on Mesos,
it tries to import pyspark but can't.
@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14675/

@pwendell
Copy link
Contributor

pwendell commented May 7, 2014

Mind creating a JIRA for this? If you could post the exception or issue that occurs it would be helfpul.

@bouk
Copy link
Contributor Author

bouk commented May 7, 2014

JIRA: https://issues.apache.org/jira/browse/SPARK-1725

The error that happens is <path to>/python: No module named pyspark

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just re-use $FWDIR from above

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I.e. $FWDIR/sbin/spark-config.sh.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14823/

@pwendell
Copy link
Contributor

pwendell commented May 8, 2014

LGTM - @bouk did you test this new fix and make sure it works?

@pwendell
Copy link
Contributor

pwendell commented May 9, 2014

I went ahead and merged this - thanks!

asfgit pushed a commit that referenced this pull request May 9, 2014
This is needed because broadcast values are broken on pyspark on Mesos, it tries to import pyspark but can't, as the PYTHONPATH is not set due to changes in ff5be9a

https://issues.apache.org/jira/browse/SPARK-1725

Author: Bouke van der Bijl <boukevanderbijl@gmail.com>

Closes #651 from bouk/include-spark-config-in-mesos-executor and squashes the following commits:

b2f1295 [Bouke van der Bijl] Inline PYTHONPATH in spark-executor
eedbbcc [Bouke van der Bijl] Include the sbin/spark-config.sh in spark-executor
(cherry picked from commit 2fd2752)

Signed-off-by: Patrick Wendell <pwendell@gmail.com>
@asfgit asfgit closed this in 2fd2752 May 9, 2014
pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
This is needed because broadcast values are broken on pyspark on Mesos, it tries to import pyspark but can't, as the PYTHONPATH is not set due to changes in ff5be9a

https://issues.apache.org/jira/browse/SPARK-1725

Author: Bouke van der Bijl <boukevanderbijl@gmail.com>

Closes apache#651 from bouk/include-spark-config-in-mesos-executor and squashes the following commits:

b2f1295 [Bouke van der Bijl] Inline PYTHONPATH in spark-executor
eedbbcc [Bouke van der Bijl] Include the sbin/spark-config.sh in spark-executor
helenyugithub pushed a commit to helenyugithub/spark that referenced this pull request Apr 20, 2020
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the excavator/bulldozer-oss check.


To enable or disable this check, please contact the maintainers of Excavator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants