Hi

I pulled the latest repository from Git -
http://git-wip-us.apache.org/repos/asf/giraph.git

and tried to package the application using

mvn -Phadoop_yarn -Dhadoop.version=2.2.0 -DskipTests clean package

The process succeeded partially. Below is the snapshot of the package log.
Did anybody else face the same problem ?

...
....
.......
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Giraph Distribution 1.1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for org.apache.giraph:giraph-hbase:jar:1.1.0-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for org.apache.giraph:giraph-accumulo:jar:1.1.0-SNAPSHOT
is missing, no dependency information available
[WARNING] The POM for org.apache.giraph:giraph-hcatalog:jar:1.1.0-SNAPSHOT
is missing, no dependency information available
[WARNING] The POM for org.apache.giraph:giraph-hive:jar:1.1.0-SNAPSHOT is
missing, no dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [4.283s]
[INFO] Apache Giraph Core ................................ SUCCESS [35.053s]
[INFO] Apache Giraph Examples ............................ SUCCESS [12.905s]
[INFO] Apache Giraph Distribution ........................ FAILURE [0.110s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 52.782s
[INFO] Finished at: Thu Feb 06 13:17:41 PST 2014
[INFO] Final Memory: 41M/286M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project giraph-dist: Could not resolve
dependencies for project org.apache.giraph:giraph-dist:pom:1.1.0-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.giraph:giraph-hbase:jar:1.1.0-SNAPSHOT,
org.apache.giraph:giraph-accumulo:jar:1.1.0-SNAPSHOT,
org.apache.giraph:giraph-hcatalog:jar:1.1.0-SNAPSHOT,
org.apache.giraph:giraph-hive:jar:1.1.0-SNAPSHOT: Failure to find
org.apache.giraph:giraph-hbase:jar:1.1.0-SNAPSHOT in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :giraph-dist

I tried to rerun the process multiple times but got the same error.


On a second note when I tried to test the partially successful installation
like mentioned below

# hadoop jar
$GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-2.2.0-jar-with-dependencies.jar
org.apache.giraph.GiraphRunner -h

It failed with the following error.

Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/giraph/GiraphRunner : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:205)

Any help would be appreciated.

Thanks.

Reply via email to