You should probably enable the "Use private Maven repository" option in the
Jenkins build.

Andreas

On Sun, Mar 13, 2016 at 8:11 AM, Amit Sela <[email protected]> wrote:

> I don't see anything either, but I suspect it's some sort of a cache in
> Jenkins maven.
>
> When I tried to build the original spark-dataflow project (Cloudera)
> against Beam instead of Dataflow, I removed all Cloudera repositories from
> the pom and even removed the Cloudera hadoop artifacts from my
> .m2/repository but it kept downloading hadoop CDH... Only after I deleted
> my entire ~/.m2/repository it downloaded Apache Hadoop.
>
> I'm not suggesting we delete Jenkins' .m2/repository (yet...) but I think
> it's some sort of cache and I'm not sure how to resolve it.
>
> You gotta admit it's strange that it downloads MapR hadoop artifacts....
>
> On Sun, Mar 13, 2016 at 9:18 AM Davor Bonaci <[email protected]>
> wrote:
>
> > I've added "help:effective-settings" goal to the pre-commit Jenkins
> > project, and rebuilt your pull request in Jenkins #62.
> >
> > I didn't see anything suspicious; see console output with effective
> > settings.xml here [1].
> >
> > [1] https://builds.apache.org/job/beam_PreCommit/62/console
> >
> > On Sat, Mar 12, 2016 at 10:45 PM, Amit Sela <[email protected]>
> wrote:
> >
> > > OS=looks. Sorry, phone autocorrect ;)
> > >
> > > On Sun, Mar 13, 2016, 08:39 Amit Sela <[email protected]> wrote:
> > >
> > > > Well, I can't run mvn dependency:tree but the downloading of MapR
> > Hadoop
> > > > dependencies OS suspicious... I remember I had this issue once with
> > > > Cloudera distribution and I resolved it by deleting my entire
> > > .m2/repository
> > > >
> > > > And Travis runs the same tests successfully...
> > > >
> > > > On Sun, Mar 13, 2016, 08:35 Davor Bonaci <[email protected]>
> > > wrote:
> > > >
> > > >> Jenkins jobs currently use "default Maven settings" and "default
> Maven
> > > >> global settings". We have some (limited) ability to view and change
> > > these
> > > >> settings ourselves.
> > > >>
> > > >> Can we definitely confirm this is the root-cause?
> > > >>
> > > >> On Sat, Mar 12, 2016 at 8:49 AM, Amit Sela <[email protected]>
> > > wrote:
> > > >>
> > > >> > I've issued PR https://github.com/apache/incubator-beam/pull/42
> and
> > > >> while
> > > >> > Travis seems happy about it, Jenkis is not.
> > > >> >
> > > >> > Checking the build console
> > > >> > https://builds.apache.org/job/beam_PreCommit/61/console I see
> that
> > > for
> > > >> > some
> > > >> > reason it downloads MapR hadoop artifacts such as:
> > > >> >
> > > >> > [INFO] Downloading:
> > > >> >
> > > >> >
> > > >>
> > >
> >
> https://repository.jboss.org/nexus/content/repositories/releases/org/apache/hadoop/hadoop-client/2.7.0-mapr-1509/hadoop-client-2.7.0-mapr-1509.jar
> > > >> >
> > > >> > instead of Apache Hadoop from Maven Central.
> > > >> >
> > > >> >
> > > >> > It seems that the issues causing the tests to fail are related to
> > the
> > > >> > MapR distribution..
> > > >> >
> > > >> >
> > > >> >
> > > >> > Any reason for that ? How/Where does Jenkins configure it's
> > > >> settings.xml ?
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Amit
> > > >> >
> > > >>
> > > >
> > >
> >
>

Reply via email to