hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kartheek muthyala <kartheek0...@gmail.com>
Subject problem building hadoop 0.23.0
Date Sat, 17 Dec 2011 13:55:08 GMT
Hi all,
I am new to build tools like maven and ant. When I was working with hadoop
-0.20.2 I was successfully able to build, install using ant. But, today i
am starting on hadoop -0.23.0. I couldn't do anything with maven. I am
encountering a strange error.
I know this is related to some configuration in pom.xml With much googling
also, couldn't find a right place to tweak in. Can someone help me to go
away with this...?

And I checked out hadoop code from git repository

git clone git://git.apache.org/hadoop-common.git



root@<ipaddress>:/usr/local/hadoop-0.23.0/hadoop-common# mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.hadoop:hadoop-project
POM Location: /usr/local/hadoop-0.23.0/hadoop-common/hadoop-project/pom.xml
Validation Messages:

    [0]  For dependency Dependency {groupId=jdk.tools,
artifactId=jdk.tools, version=1.6, type=jar}: system-scoped dependency must
specify an absolute path systemPath.


Reason: Failed to validate POM for project org.apache.hadoop:hadoop-project
at /usr/local/hadoop-0.23.0/hadoop-common/hadoop-project/pom.xml


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
for project org.apache.hadoop:hadoop-project at
/usr/local/hadoop-0.23.0/hadoop-common/hadoop-project/pom.xml
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to
validate POM for project org.apache.hadoop:hadoop-project at
/usr/local/hadoop-0.23.0/hadoop-common/hadoop-project/pom.xml
    at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1077)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
    at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
    ... 12 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Dec 17 19:17:45 IST 2011
[INFO] Final Memory: 2M/57M
[INFO]
------------------------------------------------------------------------

Thanks in advance,
Kartheek

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message