-
Notifications
You must be signed in to change notification settings - Fork 103
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
How to build project from https://github.com/apache/spark using sbt #145
Comments
Are you able to access the URL in the error message from a browser? |
i m not able to access this url http://repo.maven.apache.org/maven2/org/easymock/easymockclassextension/3.1/easymockclassextension-3.1.pom may be this is blocked by farewall. and for (http://repo.maven.apache.org/maven2) it showing this:Browsing for this directory has been disabled. |
yes now i m able to access the url but i m not able to run graphx example under https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/graphx/LiveJournalPageRank.scala |
How are you invoking it? What is the error message? |
I m getting this message when i m trying to build using maven clean install -DskipTests=true stacktrace:java.lang.RuntimeException: No main class detected. |
if i used sbt/sbt assembly then i m geeting the below error stactracejava.lang.RuntimeException: Nonzero exit code (1): git clone https://github.com/ScrapCodes/sbt-pom-reader.git C:\Users\pmukherjee.sbt\0.13\staging\ec3aa8f39111944cc5f |
can you please mention in steps that how to build the whole project and run the examples from https://github.com/apache/spark |
Here's how I build and run the project. I run OS X and use SBT, not Maven.
|
From your |
i m able to clone the repository by using git clone https://github.com/ScrapCodes/sbt-pom-reader.git |
now i m able to build an assembly JAR using SBT: stacktrace:error sbt.TestsFailedException: Tests unsuccessful |
Can u plz tell me the syntax of input for running this graphx test https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/graphx/LiveJournalPageRank.scala . i m using which is throwing eror ;Exception in thread "main" java.lang.IllegalArgumentException: Invalid argument: --numEPart I have also tried with this run-example graphx.LiveJournalPageRank soc-LiveJournal1.txt --tol=0.001 --output=D:/output.txt --numEPart=50 --partStrategy=RandomVertexCut but no success |
That command works for me:
Is it possible you used a space instead of an equals sign, as in |
Geeting error with both cases:$ ./bin/run-example graphx.LiveJournalPageRank ~/Downloads/web-Google/web-Google.txt --numEPart 8 or --numEPart=8 |
can u plz let me know about this command bcoz i m not able to run this example |
can anyone mention the steps which i need to follow for building spark application also commands to test the scala testcase.referring from https://github.com/apache/spark
I m getting build error
Stacktrace
[ERROR] Failed to execute goal on project spark-core_2.10: Could not resolve dependencies for project org.apache.spark:spark-core_2.10:jar:1.1.0-SNAPSHOT: Failed to collect dependencies at org.easymoc
k:easymockclassextension:jar:3.1: Failed to read artifact descriptor for org.easymock:easymockclassextension:jar:3.1: Could not transfer artifact org.easymock:easymockclassextension:pom:3.1 from/to ma
ven-repo (http://repo.maven.apache.org/maven2): Access denied to: http://repo.maven.apache.org/maven2/org/easymock/easymockclassextension/3.1/easymockclassextension-3.1.pom , ReasonPhrase:Forbidden. -
Thanx
The text was updated successfully, but these errors were encountered: