You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/11/28 00:20:00 UTC

[jira] [Resolved] (SPARK-26064) Unable to fetch jar from remote repo while running spark-submit on kubernetes

     [ https://issues.apache.org/jira/browse/SPARK-26064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Vanzin resolved SPARK-26064.
------------------------------------
    Resolution: Invalid

I'm closing this for the time being. If you have a question please use the mailing lists. If you're reporting an issue, please provide more information (like the actual error).

> Unable to fetch jar from remote repo while running spark-submit on kubernetes
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-26064
>                 URL: https://issues.apache.org/jira/browse/SPARK-26064
>             Project: Spark
>          Issue Type: Question
>          Components: Kubernetes
>    Affects Versions: 2.3.2
>            Reporter: Bala Bharath Reddy Resapu
>            Priority: Major
>
> I am trying to run spark on kubernetes with a docker image. My requirement is to download the jar from the external repo while running spark-submit. I am able to download the jar using wget in the container but it doesn't work when inputting in the spark-submit command. I am not packaging the jar with docker image. It works fine when I input the jar file inside the docker image. 
>  
> ./bin/spark-submit \
> --master k8s://[https://ip:port|https://ipport/] \
> --deploy-mode cluster \
> --name test3 \
> --class hello \
> --conf spark.kubernetes.container.image.pullSecrets=abcd \
> --conf spark.kubernetes.container.image=spark:h2.0 \
> [https://devops.com/artifactory/local/testing/testing_2.11/h|https://bala.bharath.reddy.resapu%40ibm.com:AKCp5bCBKTyKG2ti28sJu4GTEBSqwkG2MQKaf9w6g5rdbo3iWrWX7qb1M5doKgD54HDRU2AXr@na.artifactory.swg-devops.com/artifactory/txo-cedp-garage-artifacts-sbt-local/testing/testing_2.11/arithmetic.jar]ello.jar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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