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

lichenglin edited comment on SPARK-17898 at 10/14/16 2:41 AM:
--------------------------------------------------------------

I know it.

But how to build these dependencies into my jar.

Could you give me an example with gradle??

Really thanks a lot.

I have tried make a jar with mysql-jdbc.jar.

And I have change the mainfest's classpath.

It Failed.


was (Author: licl):
I know it.

But how to build these dependencies into my jar.

Could you give me an example with gradle??

Really thanks a lot.

> --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