You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Y.W. Mars Huang" <ma...@iii.org.tw> on 2013/05/11 00:44:03 UTC

need a help when install hadoop-0.20.205.0 over mesos-trunk

Hey Sir,

When I try to install hadoop-0.20.205.0 over mesos via .TUTORIAL.sh,
I obtain some messages as following as

--- start ---
BUILD FAILED
/root/mesos-trunk/hadoop/hadoop-0.20.205.0/build.xml:2360: impossible to
resolve dependencies:
        resolve failed - see output for details

Total time: 3 seconds

Oh no! We failed to run 'ant -Dversion=0.20.205.0 compile bin-package'. If
you need help try emailing:
--- end ---

Could you help me to solve this problem?

If you have any questions, please feel free to ask
yours,
Mars

Re: need a help when install hadoop-0.20.205.0 over mesos-trunk

Posted by "Y.W. Mars Huang" <ma...@iii.org.tw>.
Hey Vinod,

Thank you, its works

B/R
Mars

Re: need a help when install hadoop-0.20.205.0 over mesos-trunk

Posted by Vinod Kone <vi...@gmail.com>.
Try cleaning up the ivy cache (typically located at ~/.ivy2).


On Fri, May 10, 2013 at 4:13 PM, Benjamin Mahler
<be...@gmail.com>wrote:

> Have you tried googling this issue? This part of the tutorial is building
> Hadoop, so it's difficult for me to offer insight as to why the ant build
> fails due to this ivy issue.
>
>
> On Fri, May 10, 2013 at 4:02 PM, Y.W. Mars Huang <marsywhuang@iii.org.tw
> >wrote:
>
> > Het Benjamin,
> >
> > The output as following as
> >
> > --- start ---
> >   $ ant -Dversion=0.20.205.0 compile bin-package
> >
> > Hit enter to continue.
> >
> > Buildfile: 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.1.0/ivy-2.1.0.jar
> >       [get] To:
> > /root/mesos-trunk/hadoop/hadoop-0.20.205.0/ivy/ivy-2.1.0.jar
> >       [get] Not modified - so not downloaded
> >
> > ivy-init-dirs:
> >     [mkdir] Created dir:
> > /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy
> >     [mkdir] Created dir:
> > /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy/lib
> >     [mkdir] Created dir:
> > /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy/report
> >
> > ivy-probe-antlib:
> >
> > ivy-init-antlib:
> >
> > ivy-init:
> > [ivy:configure] :: Ivy 2.1.0 - 20090925235825 ::
> > http://ant.apache.org/ivy/ ::
> > [ivy:configure] :: loading settings :: file =
> > /root/mesos-trunk/hadoop/hadoop-0.20.205.0/ivy/ivysettings.xml
> >
> > ivy-resolve-common:
> > [ivy:resolve] :: resolving dependencies ::
> > org.apache.hadoop#Hadoop;working@MesosMaster
> > [ivy:resolve]   confs: [common]
> > [ivy:resolve]   found commons-logging#commons-logging;1.0.4 in maven2
> > [ivy:resolve]   found log4j#log4j;1.2.15 in maven2
> > [ivy:resolve]   found commons-httpclient#commons-httpclient;3.0.1 in
> maven2
> > [ivy:resolve]   found commons-codec#commons-codec;1.4 in maven2
> > [ivy:resolve]   found commons-cli#commons-cli;1.2 in maven2
> > [ivy:resolve]   found xmlenc#xmlenc;0.52 in maven2
> > [ivy:resolve]   found commons-daemon#commons-daemon;1.0.1 in maven2
> > [ivy:resolve]   found net.java.dev.jets3t#jets3t;0.6.1 in maven2
> > [ivy:resolve]   found commons-net#commons-net;1.4.1 in maven2
> > [ivy:resolve]   found oro#oro;2.0.8 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#jetty;6.1.26 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#jetty-util;6.1.26 in maven2
> > [ivy:resolve]   found org.mortbay.jetty#servlet-api;2.5-20081211 in
> maven2
> > [ivy:resolve]   found asm#asm;3.2 in maven2
> > [ivy:resolve]   found com.sun.jersey#jersey-core;1.8 in maven2
> > [ivy:resolve]   found com.sun.jersey#jersey-json;1.8 in maven2
> > [ivy:resolve]   found com.sun.jersey#jersey-server;1.8 in maven2
> > [ivy:resolve]   found tomcat#jasper-runtime;5.5.12 in maven2
> > [ivy:resolve]   found tomcat#jasper-compiler;5.5.12 in maven2
> > [ivy:resolve]   found commons-el#commons-el;1.0 in maven2
> > [ivy:resolve]   found commons-configuration#commons-configuration;1.6 in
> > maven2
> > [ivy:resolve]   found commons-collections#commons-collections;3.2.1 in
> > maven2
> > [ivy:resolve]   found commons-lang#commons-lang;2.4 in maven2
> > [ivy:resolve]   found commons-logging#commons-logging;1.1.1 in maven2
> > [ivy:resolve]   found commons-digester#commons-digester;1.8 in maven2
> > [ivy:resolve]   found commons-beanutils#commons-beanutils;1.7.0 in maven2
> > [ivy:resolve]   found commons-beanutils#commons-beanutils-core;1.8.0 in
> > maven2
> > [ivy:resolve]   found org.apache.commons#commons-math;2.1 in maven2
> > [ivy:resolve]   found junit#junit;4.5 in maven2
> > [ivy:resolve]   found commons-logging#commons-logging-api;1.0.4 in maven2
> > [ivy:resolve]   found org.slf4j#slf4j-api;1.4.3 in maven2
> > [ivy:resolve]   found org.eclipse.jdt#core;3.1.1 in maven2
> > [ivy:resolve]   found org.slf4j#slf4j-log4j12;1.4.3 in maven2
> > [ivy:resolve]   found org.codehaus.jackson#jackson-mapper-asl;1.0.1 in
> > maven2
> > [ivy:resolve]   found org.codehaus.jackson#jackson-core-asl;1.0.1 in
> maven2
> > [ivy:resolve]   found org.mockito#mockito-all;1.8.5 in maven2
> > [ivy:resolve]   found com.jcraft#jsch;0.1.42 in maven2
> > [ivy:resolve]   found org.aspectj#aspectjrt;1.6.5 in maven2
> > [ivy:resolve]   found org.aspectj#aspectjtools;1.6.5 in maven2
> > [ivy:resolve]   found org.vafer#jdeb;0.8 in maven2
> > [ivy:resolve] :: resolution report :: resolve 741ms :: artifacts dl 22ms
> > [ivy:resolve]   :: evicted modules:
> > [ivy:resolve]   commons-logging#commons-logging;1.0.4 by
> > [commons-logging#commons-logging;1.1.1] in [common]
> > [ivy:resolve]   commons-logging#commons-logging;1.0.3 by
> > [commons-logging#commons-logging;1.1.1] in [common]
> > [ivy:resolve]   commons-logging#commons-logging;1.1 by
> > [commons-logging#commons-logging;1.1.1] in [common]
> >
> > ---------------------------------------------------------------------
> >         |                  |            modules            ||   artifacts
> >   |
> >         |       conf       | number| search|dwnlded|evicted||
> > number|dwnlded|
> >
> > ---------------------------------------------------------------------
> >         |      common      |   42  |   0   |   0   |   3   ||   38  |   0
> >   |
> >
> > ---------------------------------------------------------------------
> > [ivy:resolve]
> > [ivy:resolve] :: problems summary ::
> > [ivy:resolve] :::: WARNINGS
> > [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> > [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]           :: com.sun.jersey#jersey-server;1.8:
> configuration
> > not found in com.sun.jersey#jersey-server;1.8: 'master'. It was required
> > from org.apache.hadoop#Hadoop;working@MesosMaster jetty
> > [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]
> > [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> >
> > BUILD FAILED
> > /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build.xml:2360: impossible to
> > resolve dependencies:
> >         resolve failed - see output for details
> >
> > Total time: 1 second
> > --- end ---
> >
> > B/R
> > Mars
> >
>

Re: need a help when install hadoop-0.20.205.0 over mesos-trunk

Posted by Benjamin Mahler <be...@gmail.com>.
Have you tried googling this issue? This part of the tutorial is building
Hadoop, so it's difficult for me to offer insight as to why the ant build
fails due to this ivy issue.


On Fri, May 10, 2013 at 4:02 PM, Y.W. Mars Huang <ma...@iii.org.tw>wrote:

> Het Benjamin,
>
> The output as following as
>
> --- start ---
>   $ ant -Dversion=0.20.205.0 compile bin-package
>
> Hit enter to continue.
>
> Buildfile: 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.1.0/ivy-2.1.0.jar
>       [get] To:
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/ivy/ivy-2.1.0.jar
>       [get] Not modified - so not downloaded
>
> ivy-init-dirs:
>     [mkdir] Created dir:
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy
>     [mkdir] Created dir:
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy/lib
>     [mkdir] Created dir:
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy/report
>
> ivy-probe-antlib:
>
> ivy-init-antlib:
>
> ivy-init:
> [ivy:configure] :: Ivy 2.1.0 - 20090925235825 ::
> http://ant.apache.org/ivy/ ::
> [ivy:configure] :: loading settings :: file =
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/ivy/ivysettings.xml
>
> ivy-resolve-common:
> [ivy:resolve] :: resolving dependencies ::
> org.apache.hadoop#Hadoop;working@MesosMaster
> [ivy:resolve]   confs: [common]
> [ivy:resolve]   found commons-logging#commons-logging;1.0.4 in maven2
> [ivy:resolve]   found log4j#log4j;1.2.15 in maven2
> [ivy:resolve]   found commons-httpclient#commons-httpclient;3.0.1 in maven2
> [ivy:resolve]   found commons-codec#commons-codec;1.4 in maven2
> [ivy:resolve]   found commons-cli#commons-cli;1.2 in maven2
> [ivy:resolve]   found xmlenc#xmlenc;0.52 in maven2
> [ivy:resolve]   found commons-daemon#commons-daemon;1.0.1 in maven2
> [ivy:resolve]   found net.java.dev.jets3t#jets3t;0.6.1 in maven2
> [ivy:resolve]   found commons-net#commons-net;1.4.1 in maven2
> [ivy:resolve]   found oro#oro;2.0.8 in maven2
> [ivy:resolve]   found org.mortbay.jetty#jetty;6.1.26 in maven2
> [ivy:resolve]   found org.mortbay.jetty#jetty-util;6.1.26 in maven2
> [ivy:resolve]   found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
> [ivy:resolve]   found asm#asm;3.2 in maven2
> [ivy:resolve]   found com.sun.jersey#jersey-core;1.8 in maven2
> [ivy:resolve]   found com.sun.jersey#jersey-json;1.8 in maven2
> [ivy:resolve]   found com.sun.jersey#jersey-server;1.8 in maven2
> [ivy:resolve]   found tomcat#jasper-runtime;5.5.12 in maven2
> [ivy:resolve]   found tomcat#jasper-compiler;5.5.12 in maven2
> [ivy:resolve]   found commons-el#commons-el;1.0 in maven2
> [ivy:resolve]   found commons-configuration#commons-configuration;1.6 in
> maven2
> [ivy:resolve]   found commons-collections#commons-collections;3.2.1 in
> maven2
> [ivy:resolve]   found commons-lang#commons-lang;2.4 in maven2
> [ivy:resolve]   found commons-logging#commons-logging;1.1.1 in maven2
> [ivy:resolve]   found commons-digester#commons-digester;1.8 in maven2
> [ivy:resolve]   found commons-beanutils#commons-beanutils;1.7.0 in maven2
> [ivy:resolve]   found commons-beanutils#commons-beanutils-core;1.8.0 in
> maven2
> [ivy:resolve]   found org.apache.commons#commons-math;2.1 in maven2
> [ivy:resolve]   found junit#junit;4.5 in maven2
> [ivy:resolve]   found commons-logging#commons-logging-api;1.0.4 in maven2
> [ivy:resolve]   found org.slf4j#slf4j-api;1.4.3 in maven2
> [ivy:resolve]   found org.eclipse.jdt#core;3.1.1 in maven2
> [ivy:resolve]   found org.slf4j#slf4j-log4j12;1.4.3 in maven2
> [ivy:resolve]   found org.codehaus.jackson#jackson-mapper-asl;1.0.1 in
> maven2
> [ivy:resolve]   found org.codehaus.jackson#jackson-core-asl;1.0.1 in maven2
> [ivy:resolve]   found org.mockito#mockito-all;1.8.5 in maven2
> [ivy:resolve]   found com.jcraft#jsch;0.1.42 in maven2
> [ivy:resolve]   found org.aspectj#aspectjrt;1.6.5 in maven2
> [ivy:resolve]   found org.aspectj#aspectjtools;1.6.5 in maven2
> [ivy:resolve]   found org.vafer#jdeb;0.8 in maven2
> [ivy:resolve] :: resolution report :: resolve 741ms :: artifacts dl 22ms
> [ivy:resolve]   :: evicted modules:
> [ivy:resolve]   commons-logging#commons-logging;1.0.4 by
> [commons-logging#commons-logging;1.1.1] in [common]
> [ivy:resolve]   commons-logging#commons-logging;1.0.3 by
> [commons-logging#commons-logging;1.1.1] in [common]
> [ivy:resolve]   commons-logging#commons-logging;1.1 by
> [commons-logging#commons-logging;1.1.1] in [common]
>
> ---------------------------------------------------------------------
>         |                  |            modules            ||   artifacts
>   |
>         |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> ---------------------------------------------------------------------
>         |      common      |   42  |   0   |   0   |   3   ||   38  |   0
>   |
>
> ---------------------------------------------------------------------
> [ivy:resolve]
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: com.sun.jersey#jersey-server;1.8: configuration
> not found in com.sun.jersey#jersey-server;1.8: 'master'. It was required
> from org.apache.hadoop#Hadoop;working@MesosMaster jetty
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build.xml:2360: impossible to
> resolve dependencies:
>         resolve failed - see output for details
>
> Total time: 1 second
> --- end ---
>
> B/R
> Mars
>

Re: need a help when install hadoop-0.20.205.0 over mesos-trunk

Posted by "Y.W. Mars Huang" <ma...@iii.org.tw>.
Het Benjamin,

The output as following as

--- start ---
  $ ant -Dversion=0.20.205.0 compile bin-package

Hit enter to continue.

Buildfile: 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.1.0/ivy-2.1.0.jar
      [get] To: /root/mesos-trunk/hadoop/hadoop-0.20.205.0/ivy/ivy-2.1.0.jar
      [get] Not modified - so not downloaded

ivy-init-dirs:
    [mkdir] Created dir:
/root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy
    [mkdir] Created dir:
/root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy/lib
    [mkdir] Created dir:
/root/mesos-trunk/hadoop/hadoop-0.20.205.0/build/ivy/report

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/::
[ivy:configure] :: loading settings :: file =
/root/mesos-trunk/hadoop/hadoop-0.20.205.0/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies ::
org.apache.hadoop#Hadoop;working@MesosMaster
[ivy:resolve]   confs: [common]
[ivy:resolve]   found commons-logging#commons-logging;1.0.4 in maven2
[ivy:resolve]   found log4j#log4j;1.2.15 in maven2
[ivy:resolve]   found commons-httpclient#commons-httpclient;3.0.1 in maven2
[ivy:resolve]   found commons-codec#commons-codec;1.4 in maven2
[ivy:resolve]   found commons-cli#commons-cli;1.2 in maven2
[ivy:resolve]   found xmlenc#xmlenc;0.52 in maven2
[ivy:resolve]   found commons-daemon#commons-daemon;1.0.1 in maven2
[ivy:resolve]   found net.java.dev.jets3t#jets3t;0.6.1 in maven2
[ivy:resolve]   found commons-net#commons-net;1.4.1 in maven2
[ivy:resolve]   found oro#oro;2.0.8 in maven2
[ivy:resolve]   found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve]   found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve]   found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve]   found asm#asm;3.2 in maven2
[ivy:resolve]   found com.sun.jersey#jersey-core;1.8 in maven2
[ivy:resolve]   found com.sun.jersey#jersey-json;1.8 in maven2
[ivy:resolve]   found com.sun.jersey#jersey-server;1.8 in maven2
[ivy:resolve]   found tomcat#jasper-runtime;5.5.12 in maven2
[ivy:resolve]   found tomcat#jasper-compiler;5.5.12 in maven2
[ivy:resolve]   found commons-el#commons-el;1.0 in maven2
[ivy:resolve]   found commons-configuration#commons-configuration;1.6 in
maven2
[ivy:resolve]   found commons-collections#commons-collections;3.2.1 in
maven2
[ivy:resolve]   found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve]   found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve]   found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve]   found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve]   found commons-beanutils#commons-beanutils-core;1.8.0 in
maven2
[ivy:resolve]   found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve]   found junit#junit;4.5 in maven2
[ivy:resolve]   found commons-logging#commons-logging-api;1.0.4 in maven2
[ivy:resolve]   found org.slf4j#slf4j-api;1.4.3 in maven2
[ivy:resolve]   found org.eclipse.jdt#core;3.1.1 in maven2
[ivy:resolve]   found org.slf4j#slf4j-log4j12;1.4.3 in maven2
[ivy:resolve]   found org.codehaus.jackson#jackson-mapper-asl;1.0.1 in
maven2
[ivy:resolve]   found org.codehaus.jackson#jackson-core-asl;1.0.1 in maven2
[ivy:resolve]   found org.mockito#mockito-all;1.8.5 in maven2
[ivy:resolve]   found com.jcraft#jsch;0.1.42 in maven2
[ivy:resolve]   found org.aspectj#aspectjrt;1.6.5 in maven2
[ivy:resolve]   found org.aspectj#aspectjtools;1.6.5 in maven2
[ivy:resolve]   found org.vafer#jdeb;0.8 in maven2
[ivy:resolve] :: resolution report :: resolve 741ms :: artifacts dl 22ms
[ivy:resolve]   :: evicted modules:
[ivy:resolve]   commons-logging#commons-logging;1.0.4 by
[commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve]   commons-logging#commons-logging;1.0.3 by
[commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve]   commons-logging#commons-logging;1.1 by
[commons-logging#commons-logging;1.1.1] in [common]

---------------------------------------------------------------------
        |                  |            modules            ||   artifacts
|
        |       conf       | number| search|dwnlded|evicted||
number|dwnlded|

---------------------------------------------------------------------
        |      common      |   42  |   0   |   0   |   3   ||   38  |   0
|

---------------------------------------------------------------------
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: com.sun.jersey#jersey-server;1.8: configuration
not found in com.sun.jersey#jersey-server;1.8: 'master'. It was required
from org.apache.hadoop#Hadoop;working@MesosMaster jetty
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/root/mesos-trunk/hadoop/hadoop-0.20.205.0/build.xml:2360: impossible to
resolve dependencies:
        resolve failed - see output for details

Total time: 1 second
--- end ---

B/R
Mars

Re: need a help when install hadoop-0.20.205.0 over mesos-trunk

Posted by Benjamin Mahler <be...@gmail.com>.
"/root/mesos-trunk/hadoop/hadoop-0.20.205.0/build.xml:2360: impossible to
resolve dependencies:
        resolve failed - see output for details"

So.. what was the output? ;)


On Fri, May 10, 2013 at 3:44 PM, Y.W. Mars Huang <ma...@iii.org.tw>wrote:

> Hey Sir,
>
> When I try to install hadoop-0.20.205.0 over mesos via .TUTORIAL.sh,
> I obtain some messages as following as
>
> --- start ---
> BUILD FAILED
> /root/mesos-trunk/hadoop/hadoop-0.20.205.0/build.xml:2360: impossible to
> resolve dependencies:
>         resolve failed - see output for details
>
> Total time: 3 seconds
>
> Oh no! We failed to run 'ant -Dversion=0.20.205.0 compile bin-package'. If
> you need help try emailing:
> --- end ---
>
> Could you help me to solve this problem?
>
> If you have any questions, please feel free to ask
> yours,
> Mars
>