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

Switch to Threaded View
Pig, mail # user - TestEmptyInputDir failed with hadoop-1.1.1


Copy link to this message
-
Re: TestEmptyInputDir failed with hadoop-1.1.1
Cheolsoo Park 2013-02-25, 18:21
Hi Fangfang,

This is fixed by PIG-3099:
https://issues.apache.org/jira/browse/PIG-3099

Please try Pig-0.10.1 or Pig-0.11.

Thanks,
Cheolsoo
On Mon, Feb 25, 2013 at 3:10 AM, lulynn_2008 <[EMAIL PROTECTED]> wrote:

>  Hi All,
> I am using pig-0.10.0 with hadoop-1.1.1, and following tests failed with
> the information:
>
> Testcase: testSkewedJoin took 45.001 sec
>         FAILED
> expected:<0> but was:<2>
> junit.framework.AssertionFailedError: expected:<0> but was:<2>
>         at
> org.apache.pig.test.TestEmptyInputDir.testSkewedJoin(TestEmptyInputDir.java:86)
>
> Testcase: testMergeJoin took 34.742 sec
>         FAILED
> expected:<0> but was:<2>
> junit.framework.AssertionFailedError: expected:<0> but was:<2>
>         at
> org.apache.pig.test.TestEmptyInputDir.testMergeJoin(TestEmptyInputDir.java:119)
>
> Testcase: testFRJoin took 28.432 sec
>         FAILED
> expected:<0> but was:<2>
> junit.framework.AssertionFailedError: expected:<0> but was:<2>
>         at
> org.apache.pig.test.TestEmptyInputDir.testFRJoin(TestEmptyInputDir.java:153)
>
> Question:
> The code is following, this shows that when using hadoop-1.0.*, the assert
> code will not be run. I think the situation should be the same with
> hadoop-1.1.1. Is this correct? As from job.xml, I found the correct
> ">mapred.map.tasks" is 0 but not 2.
>             // This assert fails on 205 due to MAPREDUCE-3606
>             if (!Util.isHadoop205()&&!Util.isHadoop1_0())
>                 assertEquals(0, js.getNumberMaps());
>
>