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

Yinan Li commented on SPARK-25682:
----------------------------------

That looks like to me the only difference. {{bin}}, {{sbin}}, and {{data}} are 
also hard-coded but they appear to be the same between the source and a 
distribution. Are you working on a fix? 

> Docker images generated from dev build and from dist tarball are different
> --------------------------------------------------------------------------
>
>                 Key: SPARK-25682
>                 URL: https://issues.apache.org/jira/browse/SPARK-25682
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 2.4.0
>            Reporter: Marcelo Vanzin
>            Priority: Minor
>
> There's at least one difference I noticed, because of this line:
> {noformat}
> COPY examples /opt/spark/examples
> {noformat}
> In a dev build, "examples" contains your usual source code and maven-style 
> directories, whereas in the dist version, it's this:
> {code}
> cp "$SPARK_HOME"/examples/target/scala*/jars/* "$DISTDIR/examples/jars"
> {code}
> So the path to the actual jar files ends up being different depending on how 
> you built the image.



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