Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # dev - need some ivy help (for MAPREDUCE-2741)


+
Alejandro Abdelnur 2011-07-29, 18:35
+
Giridharan Kesavan 2011-07-29, 21:05
Copy link to this message
-
Re: need some ivy help (for MAPREDUCE-2741)
Alejandro Abdelnur 2011-07-29, 21:30
Giri,

It is 'compile->master' already.

the download attempt is post compilation, in the 'ivy-resolve-test' target.

Thxs.

Alejandro

On Fri, Jul 29, 2011 at 2:05 PM, Giridharan Kesavan <
[EMAIL PROTECTED]> wrote:

> Alejandro,
>
> conf="compile->master"
> Always retain the lo4j conf as compile->master this way ivy won't download
> the transient deps. When compile->default ivy would download the transient
> deps.
> jmx/jmx/jdmk are transient deps of log4j.
>
>
> -Giri
>
> On Fri, Jul 29, 2011 at 11:35 AM, Alejandro Abdelnur <[EMAIL PROTECTED]
> >wrote:
>
> > I'm trying to get mapred to work using hadoop-commons generated by
> > HADOOP-6671.
> >
> > I've tweaked all ivy.xml files in mapreduce to make lgo4j exclude
> > jms/jmx/jdmk.
> >
> > I've able to run successfully 'ant jar'
> >
> > But when running 'ant tar' things fail with the output at the end of this
> > message.
> >
> > I've been trying -and failing- to figure out all morning how ivy:resolve
> > works and why is still pulling log4j excluded dependencies.
> >
> > Any hint on why the exclusions are not be considered by the
> > 'ivy-resolve-test' target?
> >
> > Thxs.
> >
> > Alejandro
> >
> > ivy-resolve-test:
> > [ivy:resolve] downloading
> >
> >
> http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-servlet-tester/6.1.14/jetty-servlet-tester-6.1.14.jar
> .
> > ..
> > [ivy:resolve] ..... (8kB)
> > [ivy:resolve] .. (0kB)
> > [ivy:resolve] [SUCCESSFUL ]
> > org.mortbay.jetty#jetty-servlet-tester;6.1.14!jetty-servlet-tester.jar
> > (908ms)
> > [ivy:resolve]
> > [ivy:resolve] :: problems summary ::
> > [ivy:resolve] :::: WARNINGS
> > [ivy:resolve] [FAILED     ] javax.jms#jms;1.1!jms.jar:  (0ms)
> > [ivy:resolve] ==== fs: tried
> > [ivy:resolve]   /Users/tucu/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar
> > [ivy:resolve] ==== apache-snapshot: tried
> > [ivy:resolve]
> >
> >
> https://repository.apache.org/content/repositories/snapshots/javax/jms/jms/1.1/jms-1.1.jar
> > [ivy:resolve] ==== maven2: tried
> > [ivy:resolve]
> > http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
> > [ivy:resolve] [FAILED     ] com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar:
> >  (0ms)
> > [ivy:resolve] ==== fs: tried
> > [ivy:resolve]
> >
>  /Users/tucu/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
> > [ivy:resolve] ==== apache-snapshot: tried
> > [ivy:resolve]
> >
> >
> https://repository.apache.org/content/repositories/snapshots/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
> > [ivy:resolve] ==== maven2: tried
> > [ivy:resolve]
> >
> >
> http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
> > [ivy:resolve] [FAILED     ] com.sun.jmx#jmxri;1.2.1!jmxri.jar:  (0ms)
> > [ivy:resolve] ==== fs: tried
> > [ivy:resolve]
> >  /Users/tucu/.m2/repository/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
> > [ivy:resolve] ==== apache-snapshot: tried
> > [ivy:resolve]
> >
> >
> https://repository.apache.org/content/repositories/snapshots/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
> > [ivy:resolve] ==== maven2: tried
> > [ivy:resolve]
> > http://repo1.maven.org/maven2/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
> > [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve] ::              FAILED DOWNLOADS            ::
> > [ivy:resolve] :: ^ see resolution messages for details  ^ ::
> > [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve] :: javax.jms#jms;1.1!jms.jar
> > [ivy:resolve] :: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
> > [ivy:resolve] :: com.sun.jmx#jmxri;1.2.1!jmxri.jar
> > [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]
> > [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> >
>
+
Steve Loughran 2011-08-02, 16:11