aboutsummaryrefslogtreecommitdiff
path: root/docs/submitting-applications.md
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-10-22 09:39:07 +0100
committerSean Owen <sowen@cloudera.com>2016-10-22 09:39:07 +0100
commit01b26a06436b4c8020f22be3e1da4995b44c9b03 (patch)
tree0abd49f2c1d2bfe56198c9ca43ab07871353d542 /docs/submitting-applications.md
parent625fdddacd58ad54fdbb17409987812176abc812 (diff)
downloadspark-01b26a06436b4c8020f22be3e1da4995b44c9b03.tar.gz
spark-01b26a06436b4c8020f22be3e1da4995b44c9b03.tar.bz2
spark-01b26a06436b4c8020f22be3e1da4995b44c9b03.zip
[SPARK-17898][DOCS] repositories needs username and password
## What changes were proposed in this pull request? Document `user:password` syntax as possible means of specifying credentials for password-protected `--repositories` ## How was this patch tested? Doc build Author: Sean Owen <sowen@cloudera.com> Closes #15584 from srowen/SPARK-17898.
Diffstat (limited to 'docs/submitting-applications.md')
-rw-r--r--docs/submitting-applications.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/submitting-applications.md b/docs/submitting-applications.md
index 6fe3049995..b738194eac 100644
--- a/docs/submitting-applications.md
+++ b/docs/submitting-applications.md
@@ -190,6 +190,8 @@ is handled automatically, and with Spark standalone, automatic cleanup can be co
Users may also include any other dependencies by supplying a comma-delimited list of maven coordinates
with `--packages`. All transitive dependencies will be handled when using this command. Additional
repositories (or resolvers in SBT) can be added in a comma-delimited fashion with the flag `--repositories`.
+(Note that credentials for password-protected repositories can be supplied in some cases in the repository URI,
+such as in `https://user:password@host/...`. Be careful when supplying credentials this way.)
These commands can be used with `pyspark`, `spark-shell`, and `spark-submit` to include Spark Packages.
For Python, the equivalent `--py-files` option can be used to distribute `.egg`, `.zip` and `.py` libraries