Skip to content

Conversation

@liyinan926
Copy link
Contributor

What changes were proposed in this pull request?

The environment variable SPARK_MOUNTED_CLASSPATH is referenced in the executor's Dockerfile, where its value is added to the classpath of the executor. However, the scheduler backend code missed setting it when creating the executor pods. This PR fixes it.

How was this patch tested?

Unit tested.

@vanzin Can you help take a look? Thanks!
@foxish

@SparkQA
Copy link

SparkQA commented Jan 9, 2018

Test build #85816 has finished for PR 20193 at commit 640e785.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@foxish
Copy link
Contributor

foxish commented Jan 9, 2018

LGTM. This exists in our fork and was missed here. Good catch @liyinan926.

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

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

see #20192

@liyinan926
Copy link
Contributor Author

@felixcheung so this change is still applicable if #20192 is merged.

@felixcheung
Copy link
Member

yap I thought about it and it's fine.
could you review that PR?

@liyinan926
Copy link
Contributor Author

Yes, will review it.

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

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

LGTM. will merge unless I hear otherwise

asfgit pushed a commit that referenced this pull request Jan 9, 2018
…he executors

## What changes were proposed in this pull request?

The environment variable `SPARK_MOUNTED_CLASSPATH` is referenced in the executor's Dockerfile, where its value is added to the classpath of the executor. However, the scheduler backend code missed setting it when creating the executor pods. This PR fixes it.

## How was this patch tested?

Unit tested.

vanzin Can you help take a look? Thanks!
foxish

Author: Yinan Li <liyinan926@gmail.com>

Closes #20193 from liyinan926/master.

(cherry picked from commit 6a4206f)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
@asfgit asfgit closed this in 6a4206f Jan 9, 2018
@felixcheung
Copy link
Member

merged to master/2.3

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.

4 participants