Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building mist 1.0.0 for spark 2.2.1 #531

Open
palaiya opened this issue Nov 29, 2018 · 2 comments
Open

Issue building mist 1.0.0 for spark 2.2.1 #531

palaiya opened this issue Nov 29, 2018 · 2 comments

Comments

@palaiya
Copy link

palaiya commented Nov 29, 2018

I tried building the mist 1.0.0 for spark 2.2.1 but it throws the following error and error was quite long so am attaching the only few lines of it.
Sample Error


[error] 18 errors were encountered during merge
[info] Done packaging.
[error] java.lang.RuntimeException: deduplicate: different file contents found in the following:
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar:javax/inject/Inject.class
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/org/glassfish/hk2/external/javax.inject/2.4.0-b34/javax.inject-2.4.0-b34.jar:javax/inject/Inject.class
[error] deduplicate: different file contents found in the following:
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar:javax/inject/Named.class
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/org/glassfish/hk2/external/javax.inject/2.4.0-b34/javax.inject-2.4.0-b34.jar:javax/inject/Named.class
[error] deduplicate: different file contents found in the following:
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar:javax/inject/Provider.class
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/org/glassfish/hk2/external/javax.inject/2.4.0-b34/javax.inject-2.4.0-b34.jar:javax/inject/Provider.class
[error] deduplicate: different file contents found in the following:
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar:javax/inject/Qualifier.class
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/org/glassfish/hk2/external/javax.inject/2.4.0-b34/javax.inject-2.4.0-b34.jar:javax/inject/Qualifier.class
[error] deduplicate: different file contents found in the following:
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar:javax/inject/Scope.class
[error] /home/AEPL/sparkuser/.cache/coursier/v1/https/repo1.maven.org/maven2/org/glassfish/hk2/external/javax.inject/2.4.0-b34/javax.inject-2.4.0-b34.jar:javax/inject/Scope.class

@dos65
Copy link
Contributor

dos65 commented Nov 29, 2018

Couldn't reproduce this one.
Have you tried to remove these artifacts from coursier cache?

@palaiya
Copy link
Author

palaiya commented Nov 30, 2018

I tried both sbt clean and deleted this coursier cache also. But still, I am getting the same error. Even now when I try to build the mist 1.1.1 i am getting the same error. So, what could be wrong despite sbt clean and deleting coursier cache

I took checkout of mist 1.1.1 tag on a different machine but i still got the same error. So, could you please check what is causing this error.

I am using ./sbt/sbt -DsparkVersion=2.2.1 assembly command on root folder of mist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants