Skip to content
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

investigate SparkContext.addFile() #2083

Closed
lbergelson opened this issue Aug 10, 2016 · 1 comment
Closed

investigate SparkContext.addFile() #2083

lbergelson opened this issue Aug 10, 2016 · 1 comment
Labels

Comments

@lbergelson
Copy link
Member

JavaSparkContext.addFile seems to be a runtime version of --files. According to this documentation it is used in concert with SparkFIles.get() on the node to lookup the downloaded file location.

It may be possible to persist these files (and those passed with --files) by setting 'spark.yarn.preserve.staging.files true`.

We should investigate incorporating calls to these methods as a way of sharing small-medium sized inputs.

@tomwhite
Copy link
Contributor

We're doing this for the reference and known sites, and it works well: #5127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants