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

Maven packaging poblem #4

Closed
karanjeets opened this issue Jun 6, 2016 · 4 comments
Closed

Maven packaging poblem #4

karanjeets opened this issue Jun 6, 2016 · 4 comments

Comments

@karanjeets
Copy link
Member

~/git_workspace/sparkler/target$ java -classpath sparkler-0.1-SNAPSHOT-jar-with-dependencies.jar edu.usc.irds.sparkler.pipeline.Crawler -m "local" -j "sparkler-job-1465179374801" -i 1
2016-06-05 19:26:41 WARN NativeCodeLoader:62 [main] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2016-06-05 19:26:42 ERROR SparkContext:95 [main] - Error initializing SparkContext.
com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'akka.version'
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:151)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
at akka.actor.ActorSystem$Settings.(ActorSystem.scala:169)
at akka.actor.ActorSystemImpl.(ActorSystem.scala:505)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:142)
at akka.actor.ActorSystem$.apply(ActorSystem.scala:119)
at org.apache.spark.util.AkkaUtils$.org$apache$spark$util$AkkaUtils$$doCreateActorSystem(AkkaUtils.scala:121)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:53)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:52)
at org.apache.spark.util.Utils$$anonfun$startServiceOnPort$1.apply$mcVI$sp(U

@thammegowda
Copy link
Member

Fixed in 43dc888

@karanjeets
Copy link
Member Author

karanjeets commented Jun 6, 2016

Now build is failing. Please see below:

mvn clean compile package assembly:single
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /Users/karanjeetsingh/git_workspace/sparkler/target/sparkler-0.1-SNAPSHOT.jar with /Users/karanjeetsingh/git_workspace/sparkler/target/sparkler-0.1-SNAPSHOT-shaded.jar
[INFO] 
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (default-cli) @ sparkler ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.397 s
[INFO] Finished at: 2016-06-05T23:12:40-07:00
[INFO] Final Memory: 64M/1862M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project sparkler: Error reading assemblies: No assembly descriptors found. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
~/git_workspace/sparkler$ 

@karanjeets karanjeets reopened this Jun 6, 2016
@karanjeets
Copy link
Member Author

Packaging properly with below. The issue can be closed.
@thammegowda - Do we need to update the Wiki Page?

mvn clean compile package

@karanjeets
Copy link
Member Author

Wiki Updated. Section: Build and Deploy

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