You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Keren Ouaknine <ke...@gmail.com> on 2011/07/26 14:43:42 UTC

compilation failing on tests contrib

Hello,

I am in the process of compiling CDH3, using forrest 0.8 (thanks to Eli for
pointing me to 7303).
I still get a failure during the final phase: tests of contrib. Where can I
see more details about the failure, and how can I re-test myself this part
wo recompiling (took over 3 hours!).

Thanks,
Keren

PS: I dont get replies to my emails, I need to find them on the net. They
are not going to any filter of mine nor spam. Any idea?


BUILD FAILED
/a/fr-02/vol/netforce/phd/ouaknine/keren_CDH3/hadoop-0.20.2-cdh3u1/build.xml:1134:
The following error occurred while executing this line:
/a/fr-02/vol/netforce/phd/ouaknine/keren_CDH3/hadoop-0.20.2-cdh3u1/build.xml:1123:
The following error occurred while executing this line:
/a/fr-02/vol/netforce/phd/ouaknine/keren_CDH3/hadoop-0.20.2-cdh3u1/src/contrib/build.xml:62:
Tests failed!

Total time: 190 minutes 44 seconds

build.xml, line 86 in bold:
  <!-- ====================================================== -->
  <!-- Test all the contrib system tests                     -->
  <!-- ====================================================== -->
  <target name="test-system-contrib">
    <property name="hadoop.root" location="${root}/../../../"/>
    <property name="build.contrib.dir"
location="${hadoop.root}/build/contrib"/>
    <delete file="${build.contrib.dir}/testsfailed"/>
    <subant target="test-system">
       <property name="continueOnFailure" value="true"/>
       <property name="hadoop.home" value="${hadoop.home}"/>
       <property name="hadoop.conf.dir" value="${hadoop.conf.dir}"/>
       <property name="hadoop.conf.dir.deployed"
           value="${hadoop.conf.dir.deployed}"/>
       <fileset dir="." includes="hdfsproxy/build.xml"/>
       <fileset dir="." includes="streaming/build.xml"/>
       <fileset dir="." includes="fairscheduler/build.xml"/>
       <fileset dir="." includes="capacity-scheduler/build.xml"/>
       <fileset dir="." includes="gridmix/build.xml"/>
    </subant>
    <available file="${build.contrib.dir}/testsfailed"
property="testsfailed"/>
*    <fail if="testsfailed">Tests failed!</fail>*
  </target>

-- 
Keren Ouaknine
Cell: +972 54 2565404
Web: www.kereno.com

Re: compilation failing on tests contrib

Posted by Suresh Srinivas <su...@hortonworks.com>.
Please post this to Cloudera mailing lists.

On Tue, Jul 26, 2011 at 5:43 AM, Keren Ouaknine <ke...@gmail.com> wrote:

> Hello,
>
> I am in the process of compiling CDH3, using forrest 0.8 (thanks to Eli for
> pointing me to 7303).
> I still get a failure during the final phase: tests of contrib. Where can I
> see more details about the failure, and how can I re-test myself this part
> wo recompiling (took over 3 hours!).
>
> Thanks,
> Keren
>
> PS: I dont get replies to my emails, I need to find them on the net. They
> are not going to any filter of mine nor spam. Any idea?
>
>
>

Re: compilation failing on tests contrib

Posted by Eli Collins <el...@cloudera.com>.
+cdh-user,  -common-dev(bcc)

Hi Keren,

Individual test failures for contrib projects are in
build/contrib/<proj>/test.   However you probably don't care since
there's no need to run all the tests just to build a tarball, just
remove the "test test-c++-libhdfs" from the command you're using to
build (that you previously posted).

Also, fwiw, none of these issues are specific to the Hadoop shipped in CDH.

Thanks,
Eli

On Tue, Jul 26, 2011 at 5:43 AM, Keren Ouaknine <ke...@gmail.com> wrote:
> Hello,
>
> I am in the process of compiling CDH3, using forrest 0.8 (thanks to Eli for
> pointing me to 7303).
> I still get a failure during the final phase: tests of contrib. Where can I
> see more details about the failure, and how can I re-test myself this part
> wo recompiling (took over 3 hours!).
>
> Thanks,
> Keren
>
> PS: I dont get replies to my emails, I need to find them on the net. They
> are not going to any filter of mine nor spam. Any idea?
>
>
> BUILD FAILED
> /a/fr-02/vol/netforce/phd/ouaknine/keren_CDH3/hadoop-0.20.2-cdh3u1/build.xml:1134:
> The following error occurred while executing this line:
> /a/fr-02/vol/netforce/phd/ouaknine/keren_CDH3/hadoop-0.20.2-cdh3u1/build.xml:1123:
> The following error occurred while executing this line:
> /a/fr-02/vol/netforce/phd/ouaknine/keren_CDH3/hadoop-0.20.2-cdh3u1/src/contrib/build.xml:62:
> Tests failed!
>
> Total time: 190 minutes 44 seconds
>
> build.xml, line 86 in bold:
>  <!-- ====================================================== -->
>  <!-- Test all the contrib system tests                     -->
>  <!-- ====================================================== -->
>  <target name="test-system-contrib">
>    <property name="hadoop.root" location="${root}/../../../"/>
>    <property name="build.contrib.dir"
> location="${hadoop.root}/build/contrib"/>
>    <delete file="${build.contrib.dir}/testsfailed"/>
>    <subant target="test-system">
>       <property name="continueOnFailure" value="true"/>
>       <property name="hadoop.home" value="${hadoop.home}"/>
>       <property name="hadoop.conf.dir" value="${hadoop.conf.dir}"/>
>       <property name="hadoop.conf.dir.deployed"
>           value="${hadoop.conf.dir.deployed}"/>
>       <fileset dir="." includes="hdfsproxy/build.xml"/>
>       <fileset dir="." includes="streaming/build.xml"/>
>       <fileset dir="." includes="fairscheduler/build.xml"/>
>       <fileset dir="." includes="capacity-scheduler/build.xml"/>
>       <fileset dir="." includes="gridmix/build.xml"/>
>    </subant>
>    <available file="${build.contrib.dir}/testsfailed"
> property="testsfailed"/>
> *    <fail if="testsfailed">Tests failed!</fail>*
>  </target>
>
> --
> Keren Ouaknine
> Cell: +972 54 2565404
> Web: www.kereno.com
>