-
Couldn't load subscription status.
- Fork 28.9k
[SPARK-17979] Remove deprecated SPARK_YARN_USER_ENV and [SPARK-14453] SPARK_JAVA_OPTS #17212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch? |
|
I think it's indeed OK to remove at this point because it's not documented, and because of the JIRA discussion. However it's ideal if you can look for other SPARK_* env variables that are long since gone but still checked in the code. |
|
Thanks @srowen Will take a look at other envs and update the PR if relevant. |
|
And please remove the template text from your PR description. |
|
@srowen @vanzin The PR has been updated with the following removed: All of them have already been labeled in the source code: (The PR description has been updated as well) Please take a look and let me know if there are any issues. |
|
This actually covers SPARK-14453 too then. It relates to SPARK-12344 but doesn't fully resolve it. We can link all these in the title though. Yes, I support removing these props as they have been deprecated a long, long time. There are more usages of |
|
Thanks @srowen. The PR has been updated with additional usage of SPARK_CLASSPATH and SPARK_WORKER_INSTANCES removed. There are |
docs/hardware-provisioning.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You had a good point about SPARK_WORKER_INSTANCES being used in standalone mode. I think we might need to keep this doc as a result.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srowen The PR has been updated with the doc kept. Please take a look.
This fix removes deprecated support for config `SPARK_YARN_USER_ENV`, as is mentioned in SPARK-17979.
This commit removes deprecated SPARK_JAVA_OPTS.
This commit removes deprecated SPARK_CLASSPATH
This commit removes deprecated SPARK_WORKER_INSTANCES.
This commit removes additional usage of SPARK_CLASSPATH
|
LGTM. I also linked SPARK-17979 to the "parent" of all these cleanup tasks (SPARK-12344); before we completely remove things like |
|
Merging to master. |
What changes were proposed in this pull request?
This fix removes deprecated support for config
SPARK_YARN_USER_ENV, as is mentioned in SPARK-17979.This fix also removes deprecated support for the following:
Related JIRA:
[SPARK-14453]: https://issues.apache.org/jira/browse/SPARK-14453
[SPARK-12344]: https://issues.apache.org/jira/browse/SPARK-12344
[SPARK-15781]: https://issues.apache.org/jira/browse/SPARK-15781
How was this patch tested?
Existing tests should pass.