GitHub user azagrebin opened a pull request:
https://github.com/apache/spark/pull/4616
[SPARK-3340] Deprecate ADD_JARS and ADD_FILES
I created a patch that disables the environment variables.
Thereby scala or python shell log a warning message to notify user about
the deprecation
with the following message:
scala: "ADD_JARS environment variable is deprecated, use --jar spark submit
argument instead"
python: "Warning: ADD_FILES environment variable is deprecated, use
--py-files argument instead"
Is it what is expected or the code associated with the variables should be
just completely removed?
Should it be somewhere documented?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/azagrebin/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4616.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 #4616
----
commit 42f010767b9f17fc41ca47eece84de5359871ae8
Author: azagrebin <[email protected]>
Date: 2015-02-15T13:57:10Z
[SPARK-3340] Deprecate ADD_JARS and ADD_FILES
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. 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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]