hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanth J <buckeye.prasa...@gmail.com>
Subject Re: Hadoop on Eclipse
Date Thu, 06 Oct 2011 18:02:17 GMT
Am also facing the exact issue. I think the documentation for setting up
hadoop on eclipse is for older versions of hadoop. Now i am using hadoop
0.24.0 snapshot and with reference to that the documentation seems outdated.
Any help on this regard will be very useful.

On Wed, Oct 5, 2011 at 10:34 PM, Tim Broberg <tbroberg@yahoo.com> wrote:

> I am having issues similar to Alexandre's.
>
> The suggestion to run "mvn install -DskipTests -P-cbuild" clears up the
> initial problems, but problems ensue...
>
>  1a - There is no hdfs subdirectory to change into.
>  1b - If I instead cd to hadoop-hdfs-project and proceed, I get...
>
> [tbroberg@f15 hadoop-common]$ cd hadoop-hdfs-project/
> [tbroberg@f15 hadoop-hdfs-project]$ ant compile eclipse
> Buildfile: build.xml does not exist!
> Build failed
> [tbroberg@f15 hadoop-hdfs-project]$
>
>  2 - If I skip hdfs altogether and go to hadoop-mapreduce-project problems
> much like the original issues crop up:
>
> Output is below, debug output is attached.
>
> Looks like maybe he's failing to expand ${yarn.version}?
>
> Anybody got any better suggestions than "go out to dinner?"
>
> Thanks,
>     - Tim.
>
> [tbroberg@f15 hadoop-mapreduce-project]$ ant compile eclipse
> Buildfile:
> /home/tbroberg/workspace/git/hadoop-common/hadoop-mapreduce-project/build.xml
> clover.setup:
> clover.info:
>      [echo]
>      [echo]      Clover not found. Code coverage reports disabled.
>      [echo]
> clover:
> ivy-download:
>       [get] Getting:
> http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
>       [get] To:
> /home/tbroberg/workspace/git/hadoop-common/hadoop-mapreduce-project/ivy/ivy-2.2.0.jar
>       [get] Not modified - so not downloaded
> ivy-init-dirs:
> ivy-probe-antlib:
> ivy-init-antlib:
> ivy-init:
> [ivy:configure] :: Ivy 2.2.0 - 20100923230623 ::
> http://ant.apache.org/ivy/ ::
> [ivy:configure] :: loading settings :: file =
> /home/tbroberg/workspace/git/hadoop-common/hadoop-mapreduce-project/ivy/ivysettings.xml
> ivy-resolve-common:
> [ivy:resolve]
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve]   io problem while parsing ivy file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-yarn-server-common/0.24.0-SNAPSHOT/hadoop-yarn-server-common-0.24.0-20110914.035045-1.pom:
> Impossible to load parent for
> file:/home/tbroberg/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-common/ivy-0.24.0-SNAPSHOT.xml.original.
> Parent=org.apache.hadoop#hadoop-yarn-server;${yarn.version}
> [ivy:resolve]           module not found:
> org.apache.hadoop#hadoop-yarn-server-common;0.24.0-SNAPSHOT
> [ivy:resolve]   ==== apache-snapshot: tried
> [ivy:resolve]
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-yarn-server/${yarn.version}/hadoop-yarn-server-${yarn.version}.pom
> [ivy:resolve]     -- artifact
> org.apache.hadoop#hadoop-yarn-server;${yarn.version}!hadoop-yarn-server.jar:
> [ivy:resolve]
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-yarn-server/${yarn.version}/hadoop-yarn-server-${yarn.version}.jar
> [ivy:resolve]   ==== maven2: tried
> [ivy:resolve]
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-yarn-server-common/0.24.0-SNAPSHOT/hadoop-yarn-server-common-0.24.0-SNAPSHOT.pom
> [ivy:resolve]     -- artifact
> org.apache.hadoop#hadoop-yarn-server-common;0.24.0-SNAPSHOT!hadoop-yarn-server-common.jar:
> [ivy:resolve]
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-yarn-server-common/0.24.0-SNAPSHOT/hadoop-yarn-server-common-0.24.0-SNAPSHOT.jar
> [ivy:resolve]   io problem while parsing ivy file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-mapreduce-client-core/0.24.0-SNAPSHOT/hadoop-mapreduce-client-core-0.24.0-20110914.035126-1.pom:
> Impossible to load parent for
> file:/home/tbroberg/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-core/ivy-0.24.0-SNAPSHOT.xml.original.
> Parent=org.apache.hadoop#hadoop-mapreduce-client;${hadoop-mapreduce.version}
> [ivy:resolve]           module not found:
> org.apache.hadoop#hadoop-mapreduce-client-core;0.24.0-SNAPSHOT
> [ivy:resolve]   ==== apache-snapshot: tried
> [ivy:resolve]
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-mapreduce-client/${hadoop-mapreduce.version}/hadoop-mapreduce-client-${hadoop-mapreduce.version}.pom
> [ivy:resolve]     -- artifact
> org.apache.hadoop#hadoop-mapreduce-client;${hadoop-mapreduce.version}!hadoop-mapreduce-client.jar:
> [ivy:resolve]
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-mapreduce-client/${hadoop-mapreduce.version}/hadoop-mapreduce-client-${hadoop-mapreduce.version}.jar
> [ivy:resolve]   ==== maven2: tried
> [ivy:resolve]
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapreduce-client-core/0.24.0-SNAPSHOT/hadoop-mapreduce-client-core-0.24.0-SNAPSHOT.pom
> [ivy:resolve]     -- artifact
> org.apache.hadoop#hadoop-mapreduce-client-core;0.24.0-SNAPSHOT!hadoop-mapreduce-client-core.jar:
> [ivy:resolve]
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapreduce-client-core/0.24.0-SNAPSHOT/hadoop-mapreduce-client-core-0.24.0-SNAPSHOT.jar
> [ivy:resolve]   io problem while parsing ivy file:
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-yarn-common/0.24.0-SNAPSHOT/hadoop-yarn-common-0.24.0-20110914.034958-1.pom:
> Impossible to load parent for
> file:/home/tbroberg/.ivy2/cache/org.apache.hadoop/hadoop-yarn-common/ivy-0.24.0-SNAPSHOT.xml.original.
> Parent=org.apache.hadoop#hadoop-yarn;${yarn.version}
> [ivy:resolve]           module not found:
> org.apache.hadoop#hadoop-yarn-common;0.24.0-SNAPSHOT
> [ivy:resolve]   ==== apache-snapshot: tried
> [ivy:resolve]
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-yarn/${yarn.version}/hadoop-yarn-${yarn.version}.pom
> [ivy:resolve]     -- artifact
> org.apache.hadoop#hadoop-yarn;${yarn.version}!hadoop-yarn.jar:
> [ivy:resolve]
> https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-yarn/${yarn.version}/hadoop-yarn-${yarn.version}.jar
> [ivy:resolve]   ==== maven2: tried
> [ivy:resolve]
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-yarn-common/0.24.0-SNAPSHOT/hadoop-yarn-common-0.24.0-SNAPSHOT.pom
> [ivy:resolve]     -- artifact
> org.apache.hadoop#hadoop-yarn-common;0.24.0-SNAPSHOT!hadoop-yarn-common.jar:
> [ivy:resolve]
> http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-yarn-common/0.24.0-SNAPSHOT/hadoop-yarn-common-0.24.0-SNAPSHOT.jar
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::
> org.apache.hadoop#hadoop-yarn-server-common;0.24.0-SNAPSHOT: not found
> [ivy:resolve]           ::
> org.apache.hadoop#hadoop-mapreduce-client-core;0.24.0-SNAPSHOT: not found
> [ivy:resolve]           ::
> org.apache.hadoop#hadoop-yarn-common;0.24.0-SNAPSHOT: not found
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
> /home/tbroberg/workspace/git/hadoop-common/hadoop-mapreduce-project/build.xml:2223:
> impossible to resolve dependencies:
>         resolve failed - see output for details
> Total time: 23 seconds
> [tbroberg@f15 hadoop-mapreduce-project]$
>
>

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