If you have time, you can dig a little bit to find out why
TestNetUtils#testNormalizeHostName
failed (passed locally on my Mac).

Use the following command:

mvn clean package -DskipTests eclipse:eclipse

After that, you can import hadoop into Eclipse.
You can step into the following call:

    List<String> normalizedHosts = NetUtils.normalizeHostNames(hosts);

Cheers


On Sat, Mar 15, 2014 at 5:49 PM, Omar@Gmail <omarnet...@googlemail.com>wrote:

> I'm following instructions from
> http://wiki.apache.org/hadoop/HowToContribute
>
> I've checked out hadoop project using:
>
> svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-trunk
>
> When trying to build from root (i.e. hadoop-trunk)
>
> I get the errors I have mentioned before.
>
> Also I'm using mac os x and setting up hadoop development environment on
> Ubuntu running on vmware.
>
> Are there any recommendations I can get from you regarding this.
>
> Should expect to get a successful build?
>
>
>
> On 15 March 2014 20:45, Ted Yu <yuzhih...@gmail.com> wrote:
>
> > From https://builds.apache.org/job/Hadoop-trunk/694/console :
> >
> > Build timed out (after 200 minutes). Marking the build as aborted.
> > Build was aborted
> >
> >
> > The above shows how long building all sub-projects of Hadoop might take.
> >
> >
> > -------
> >
> > https://builds.apache.org/job/Hadoop-Yarn-trunk builds
> > hadoop-yarn-project under trunk.
> >
> > See below:
> >
> >
> > cd trunk/
> > $MAVEN_HOME/bin/mvn clean install -DskipTests
> > cd hadoop-yarn-project
> >
> > $MAVEN_HOME/bin/mvn clean verify checkstyle:checkstyle
> > findbugs:findbugs -Pdist -Pnative -Dtar
> >
> >
> >
> >
> >
> > On Sat, Mar 15, 2014 at 12:03 PM, Omar@Gmail <omarnet...@googlemail.com
> > >wrote:
> >
> > > Getting
> > >
> > > Results :
> > >
> > > Failed tests:
> > >   TestNetUtils.testNormalizeHostName:619 expected:<[81.200.64.50]> but
> > > was:<[UnknownHost123]>
> > >   TestZKFailoverController.testGracefulFailoverFailBecomingActive:484
> Did
> > > not fail to graceful failover when target failed to become active!
> > >   TestZKFailoverController.testGracefulFailoverFailBecomingStandby:518
> > > expected:<1> but was:<0>
> > >
> > >
> > >
> >
> TestZKFailoverController.testGracefulFailoverFailBecomingStandbyAndFailFence:540
> > > Failover should have failed when old node wont fence
> > >   TestMetricsSystemImpl.testMultiThreadedPublish:232 expected:<0> but
> > > was:<2>
> > >
> > > Tests in error:
> > >   TestZKFailoverController.testGracefulFailover:432 ยป  test timed out
> > after
> > > 2500...
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test)
> > on
> > > project hadoop-common: There are test failures.
> > >
> > >
> > > Is this the correct build project
> > > https://builds.apache.org/job/Hadoop-trunk
> > >
> > > Also not sure why you suggested these as they don't seem to fall under
> > > hadoop-trunk as I would expect them to.
> > > https://builds.apache.org/job/Hadoop-Yarn-trunk
> > > https://builds.apache.org/job/Hadoop-hdfs-trunk/
> > >
> > > Thanks
> > >
> > >
> > >
> > > On 15 March 2014 18:20, Omar@Gmail <omarnet...@googlemail.com> wrote:
> > >
> > > >
> > > > I just took another svn update and building again will email which
> > module
> > > > is failing for me.
> > > >
> > > > Thanks
> > > >
> > > >
> > > > On 15 March 2014 18:15, Ted Yu <yuzhih...@gmail.com> wrote:
> > > >
> > > >> There're several Jenkins jobs for hadoop.
> > > >> e.g.
> > > >> https://builds.apache.org/job/Hadoop-Yarn-trunk<
> > > >> https://builds.apache.org/job/Hadoop-Yarn-trunk/510/changes>
> > > >> https://builds.apache.org/job/Hadoop-hdfs-trunk/
> > > >>
> > > >> Which module are you looking at ?
> > > >>
> > > >> Cheers
> > > >>
> > > >>
> > > >> On Sat, Mar 15, 2014 at 11:00 AM, Omar@Gmail <
> > omarnet...@googlemail.com
> > > >> >wrote:
> > > >>
> > > >> > Hi,
> > > >> >
> > > >> > Is there a Jenkins builder server for Hadoop?
> > > >> >
> > > >> > I'm getting test failures when building hadoop-trunk. Is that
> > > >> known\normal?
> > > >> >
> > > >> > Omar
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>

Reply via email to