You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by D Adams <da...@gmail.com> on 2014/11/18 03:46:04 UTC

Giraph Build Hadoop 2.5.1, Giraph 1.1.0-SNAPSHOT

Greetings,
     I have been trying different things to get a working giraph install.
The most recent attempt is the following:
 I installed oracle java jdk 1.8.0 and maven 3.2.3 the installed hadoop
2.5.1. The hadoop install works. I then cloned the giraph repository from
https://github.com/apache/giraph.git <https://github.com/apache/giraph> and
tried to use

mvn package -Phadoop_yarn -Dhadoop.version=2.5.1 -DskipTests clean install

But i get the following:
[INFO] --- munge-maven-plugin:1.0:munge (munge) @ giraph-core ---
Cannot write to file
/usr/local/giraph/giraph-core/target/munged/main/com/yammer/metrics/core/NoOpTimer.java
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent ............................... SUCCESS [
15.638 s]
[INFO] Apache Giraph Core ................................. FAILURE [
0.946 s]
[INFO] Apache Giraph Examples ............................. SKIPPED
[INFO] Apache Giraph Distribution ......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17.074 s
[INFO] Finished at: 2014-11-17T20:31:32-06:00
[INFO] Final Memory: 22M/84M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.sonatype.plugins:munge-maven-plugin:1.0:munge (munge) on project
giraph-core: Execution munge of goal
org.sonatype.plugins:munge-maven-plugin:1.0:munge failed.
NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.sonatype.plugins:munge-maven-plugin:1.0:munge (munge) on project
giraph-core: Execution munge of goal
org.sonatype.plugins:munge-maven-plugin:1.0:munge failed.
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
munge of goal org.sonatype.plugins:munge-maven-plugin:1.0:munge failed.
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    ... 19 more
Caused by: java.lang.NullPointerException
    at org.sonatype.plugins.munge.Munge.print(Munge.java:213)
    at org.sonatype.plugins.munge.Munge.processComment(Munge.java:298)
    at org.sonatype.plugins.munge.Munge.process(Munge.java:410)
    at org.sonatype.plugins.munge.MungeMojo.munge(MungeMojo.java:118)
    at org.sonatype.plugins.munge.MungeMojo.execute(MungeMojo.java:78)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
    ... 20 more
[ERROR]
[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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :giraph-core

I did see an email mentioning a modification to pom.xml regarding adding a
<mungedDirectory> but that didn't seem to help.

I am sorry. I am very new to this and have yet to make good install. Thank
you,

V/r
Das