[ 
https://issues.apache.org/jira/browse/SPARK-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15580857#comment-15580857
 ] 

lichenglin commented on SPARK-17898:
------------------------------------

I have found a way to declaration the username and password:

--repositories 
http://username:passw...@wx.bjdv.com:8081/nexus/content/grou‌​ps/bigdata/

May be,we should add this feature to the document?



> --repositories  needs username and password
> -------------------------------------------
>
>                 Key: SPARK-17898
>                 URL: https://issues.apache.org/jira/browse/SPARK-17898
>             Project: Spark
>          Issue Type: Wish
>    Affects Versions: 2.0.1
>            Reporter: lichenglin
>
> My private repositories need username and password to visit.
> I can't find a way to declaration  the username and password when submit 
> spark application
> {code}
> bin/spark-submit --repositories   
> http://wx.bjdv.com:8081/nexus/content/groups/bigdata/ --packages 
> com.databricks:spark-csv_2.10:1.2.0   --class 
> org.apache.spark.examples.SparkPi   --master local[8]   
> examples/jars/spark-examples_2.11-2.0.1.jar   100
> {code}
> The rep http://wx.bjdv.com:8081/nexus/content/groups/bigdata/ need username 
> and password



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to