-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24646][CORE] Minor change to spark.yarn.dist.forceDownloadSchemes to support wildcard '*' #21633
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
|
Test build #92289 has finished for PR 21633 at commit
|
|
Jenkins, retest this please. |
|
Test build #92291 has finished for PR 21633 at commit
|
vanzin
left a comment
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.
Looks good, just a couple of minor things.
| "local disk prior to being added to YARN's distributed cache. For use in cases " + | ||
| "where the YARN service does not support schemes that are supported by Spark, like http, " + | ||
| "https and ftp.") | ||
| "https and ftp, or jars required to add to local YARN client's classpath. Wildcard '*' is" + |
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.
"required to be in the local..."
Also, keep the space at the end of this line, like done in others,
docs/running-on-yarn.md
Outdated
| Comma-separated list of schemes for which resources will be downloaded to the local disk prior to | ||
| being added to YARN's distributed cache. For use in cases where the YARN service does not | ||
| support schemes that are supported by Spark, like http, https and ftp. | ||
| support schemes that are supported by Spark, like http, https and ftp, or jars required to add to |
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.
Same slight reword here.
|
Test build #92552 has finished for PR 21633 at commit
|
|
Jenkins, retest this please. |
|
Test build #92555 has finished for PR 21633 at commit
|
|
Jenkins, retest this please. |
|
Test build #92563 has finished for PR 21633 at commit
|
|
Any more comment @vanzin ? |
jiangxb1987
left a comment
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.
LGTM
|
Thanks @jiangxb1987 , merging to master branch. |
What changes were proposed in this pull request?
In the case of getting tokens via customized
ServiceCredentialProvider, it is required thatServiceCredentialProviderbe available in local spark-submit process classpath. In this case, all the configured remote sources should be forced to download to local.For the ease of using this configuration, here propose to add wildcard '*' support to
spark.yarn.dist.forceDownloadSchemes, also clarify the usage of this configuration.How was this patch tested?
New UT added.