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

Nagaram Prasad Addepally commented on SPARK-25957:
--------------------------------------------------

Thanks [~vanzin]... we can do skip flags instead. I think we can auto detect R 
installation by checking for presence of  "$SPARK_HOME/R/lib" folder. Correct 
me if I am wrong. 

I will work on this change and post a PR. Can you assign this Jira to me. I do 
not seem to have permission to assign this Jira to myself.

> Skip building spark-r docker image if spark distribution does not have R 
> support
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-25957
>                 URL: https://issues.apache.org/jira/browse/SPARK-25957
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 2.4.0
>            Reporter: Nagaram Prasad Addepally
>            Priority: Major
>
> [docker-image-tool.sh|https://github.com/apache/spark/blob/master/bin/docker-image-tool.sh]
>  script by default tries to build spark-r image. We may not always build 
> spark distribution with R support. It would be good to skip building and 
> publishing spark-r images if R support is not available in the spark 
> distribution.



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

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

Reply via email to