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/10/08 21:17:00 UTC

[jira] [Created] (SPARK-25682) Docker images generated from dev build and from dist tarball are different

Marcelo Vanzin created SPARK-25682:
--------------------------------------

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


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org