giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianmarco De Francisci Morales (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-817) Compile problem with default profile
Date Tue, 17 Dec 2013 22:38:07 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851020#comment-13851020
] 

Gianmarco De Francisci Morales commented on GIRAPH-817:
-------------------------------------------------------

Hi Avery,

I am currently at commit 4ce0f6a0dcacde371625e1ea4e5b431a773f339a    GIRAPH-815: Exclude dependency
and duplicate finder checks to profile we do not check (aching)

Here the command I use:

{code}
→ mvn clean package -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Giraph Parent
[INFO] Apache Giraph Core
[INFO] Apache Giraph Examples
[INFO] Apache Giraph HBase I/O
[INFO] Apache Giraph Accumulo I/O
[INFO] Apache Giraph Rexster I/O
[INFO] Apache Giraph HCatalog I/O
[INFO] Apache Giraph Hive I/O
[INFO] Apache Giraph Distribution
[INFO] Apache Giraph Gora I/O
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Giraph Parent 1.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ giraph-parent ---
[INFO]
[INFO] --- mavanagaiata:0.5.0:branch (git-commit) @ giraph-parent ---
[INFO]
[INFO] --- mavanagaiata:0.5.0:commit (git-commit) @ giraph-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ giraph-parent ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.2:check (default) @ giraph-parent ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- maven-dependency-plugin:2.7:analyze-only (default) @ giraph-parent ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-dependency-plugin:2.7:analyze-duplicate (default) @ giraph-parent ---
[INFO] No duplicate dependencies found in <dependencies/> or in <dependencyManagement/>
[INFO]
[INFO] --- maven-dependency-plugin:2.7:analyze-dep-mgt (default) @ giraph-parent ---
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO] 	Ignoring Direct Dependencies.
[INFO] junit:junit:jar was excluded in DepMgt, but version 4.11 has been found in the dependency
tree.
[INFO] commons-httpclient:commons-httpclient:jar was excluded in DepMgt, but version 3.0.1
has been found in the dependency tree.
[INFO] commons-lang:commons-lang:jar was excluded in DepMgt, but version 2.4 has been found
in the dependency tree.
[INFO] commons-logging:commons-logging:jar was excluded in DepMgt, but version 1.0.4 has been
found in the dependency tree.
[INFO] commons-beanutils:commons-beanutils-core:jar was excluded in DepMgt, but version 1.8.0
has been found in the dependency tree.
[WARNING] Potential problems found in Dependency Management
[INFO]
[INFO] --- maven-duplicate-finder-plugin:1.0.4:check (default) @ giraph-parent ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Giraph Core 1.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ giraph-core ---
[INFO] Deleting /Users/gdfm/workspace/giraph/giraph-core/target
[INFO]
[INFO] --- mavanagaiata:0.5.0:branch (git-commit) @ giraph-core ---
[INFO]
[INFO] --- mavanagaiata:0.5.0:commit (git-commit) @ giraph-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ giraph-core ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.2:check (default) @ giraph-core ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- munge-maven-plugin:1.0:munge (munge) @ giraph-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ giraph-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ giraph-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 595 source files to /Users/gdfm/workspace/giraph/giraph-core/target/munged/classes
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java:[33,29]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java:[35,25]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java:[66,32]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayInputStream.java:[34,32]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayInputStream.java:[37,29]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayInputStream.java:[39,25]
sun.misc.Unsafe is internal proprietary API and may be removed in a future release
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/comm/netty/SaslNettyClient.java:
Some input files use or override a deprecated API.
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/comm/netty/SaslNettyClient.java:
Recompile with -Xlint:deprecation for details.
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/factories/DefaultOutgoingMessageValueFactory.java:
Some input files use unchecked or unsafe operations.
[WARNING] /Users/gdfm/workspace/giraph/giraph-core/target/munged/main/org/apache/giraph/factories/DefaultOutgoingMessageValueFactory.java:
Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-assembly-plugin:2.4:single (build-fat-jar) @ giraph-core ---
[INFO] Building jar: /Users/gdfm/workspace/giraph/giraph-core/target/giraph-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (default) @ giraph-core ---
[INFO] Executing tasks

main:
     [java] java.lang.NoClassDefFoundError: org/apache/hadoop/io/Writable
     [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
     [java] 	at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java] 	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:606)
     [java] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java] 	at org.apache.tools.ant.Task.perform(Task.java:348)
     [java] 	at org.apache.tools.ant.Target.execute(Target.java:390)
     [java] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
     [java] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
     [java] 	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:270)
     [java] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
     [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
     [java] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
     [java] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
     [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
     [java] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
     [java] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
     [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:606)
     [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
     [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
     [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
     [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
     [java] Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/io/Writable
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
     [java] 	at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1124)
     [java] 	at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1295)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1351)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
     [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
     [java] 	at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1124)
     [java] 	at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1295)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1351)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
     [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
     [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
     [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
     [java] 	at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1124)
     [java] 	at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1295)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1351)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
     [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
     [java] 	at org.apache.giraph.conf.GiraphConstants.<clinit>(GiraphConstants.java:135)
     [java] 	at org.apache.giraph.conf.AllOptions.main(AllOptions.java:153)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:606)
     [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java] 	... 37 more
     [java] Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.io.Writable
     [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361)
     [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
     [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
     [java] 	... 69 more
     [java] Java Result: -1
{code}

However even with this error the build now manages to finish (it didn't when I filed the bug)

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [2.377s]
[INFO] Apache Giraph Core ................................ SUCCESS [21.358s]
[INFO] Apache Giraph Examples ............................ SUCCESS [10.625s]
[INFO] Apache Giraph HBase I/O ........................... SUCCESS [6.284s]
[INFO] Apache Giraph Accumulo I/O ........................ SUCCESS [10.085s]
[INFO] Apache Giraph Rexster I/O ......................... SUCCESS [11.001s]
[INFO] Apache Giraph HCatalog I/O ........................ SUCCESS [22.938s]
[INFO] Apache Giraph Hive I/O ............................ SUCCESS [21.015s]
[INFO] Apache Giraph Distribution ........................ SUCCESS [9.507s]
[INFO] Apache Giraph Gora I/O ............................ SUCCESS [14.954s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{code}

> Compile problem with default profile
> ------------------------------------
>
>                 Key: GIRAPH-817
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-817
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Gianmarco De Francisci Morales
>
> Hi,
> When trying to compile trunk with the default profile, I get the following error:
> {code}
> [INFO] --- maven-assembly-plugin:2.4:single (build-fat-jar) @ giraph-core ---
> [INFO] Building jar: /Users/gdfm/workspace/giraph/git/giraph-core/target/giraph-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar
> [INFO]
> [INFO] --- maven-antrun-plugin:1.6:run (default) @ giraph-core ---
> [INFO] Executing tasks
> main:
>      [java] java.lang.NoClassDefFoundError: org/apache/hadoop/io/Writable
>      [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
>      [java] 	at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
>      [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
>      [java] 	at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
>      [java] 	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
>      [java] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:606)
>      [java] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>      [java] 	at org.apache.tools.ant.Task.perform(Task.java:348)
>      [java] 	at org.apache.tools.ant.Target.execute(Target.java:390)
>      [java] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
>      [java] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
>      [java] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
>      [java] 	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:270)
>      [java] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>      [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>      [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>      [java] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>      [java] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>      [java] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>      [java] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>      [java] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>      [java] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>      [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>      [java] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>      [java] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>      [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:606)
>      [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>      [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>      [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>      [java] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>      [java] Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/io/Writable
>      [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
>      [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>      [java] 	at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1124)
>      [java] 	at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1295)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1351)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
>      [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
>      [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>      [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
>      [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>      [java] 	at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1124)
>      [java] 	at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1295)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1351)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
>      [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
>      [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>      [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
>      [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>      [java] 	at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1124)
>      [java] 	at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1295)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1351)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
>      [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
>      [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>      [java] 	at org.apache.giraph.conf.GiraphConstants.<clinit>(GiraphConstants.java:135)
>      [java] 	at org.apache.giraph.conf.AllOptions.main(AllOptions.java:153)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:606)
>      [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
>      [java] 	at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
>      [java] 	... 37 more
>      [java] Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.io.Writable
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361)
>      [java] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311)
>      [java] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1070)
>      [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>      [java] 	... 69 more
>      [java] Java Result: -1
> [INFO] Executed tasks
> {code}
> It seems like the ant classpath is not configured properly.
> I guess the culprit might be in giraph-core/pom.xml:135
> {code}
>                      <pathelement path="${maven.dependency.org.apache.hadoop.hadoop-common.jar.path}"/>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message