Skip to content

Conversation

@jerryshao
Copy link
Contributor

What changes were proposed in this pull request?

In the case of getting tokens via customized ServiceCredentialProvider, it is required that ServiceCredentialProvider be 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.

@jerryshao jerryshao changed the title [SPARK-21917][CORE][FOLLOWUP] Minor change to spark.yarn.dist.forceDownloadSchemes to support wildcard '*' [SPARK-24646][CORE] Minor change to spark.yarn.dist.forceDownloadSchemes to support wildcard '*' Jun 25, 2018
@SparkQA
Copy link

SparkQA commented Jun 25, 2018

Test build #92289 has finished for PR 21633 at commit f3c99f8.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jerryshao
Copy link
Contributor Author

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Jun 25, 2018

Test build #92291 has finished for PR 21633 at commit f3c99f8.

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

Copy link
Contributor

@vanzin vanzin left a 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" +
Copy link
Contributor

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,

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
Copy link
Contributor

Choose a reason for hiding this comment

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

Same slight reword here.

@SparkQA
Copy link

SparkQA commented Jul 3, 2018

Test build #92552 has finished for PR 21633 at commit 4419f52.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jerryshao
Copy link
Contributor Author

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Jul 3, 2018

Test build #92555 has finished for PR 21633 at commit 4419f52.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jerryshao
Copy link
Contributor Author

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Jul 3, 2018

Test build #92563 has finished for PR 21633 at commit 4419f52.

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

@jerryshao
Copy link
Contributor Author

Any more comment @vanzin ?

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

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

LGTM

@jerryshao
Copy link
Contributor Author

Thanks @jiangxb1987 , merging to master branch.

@asfgit asfgit closed this in e2c7e09 Jul 9, 2018
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