|
|
+
lulynn_2008 2011-09-06, 02:16
+
Daniel Dai 2011-09-06, 17:30
-
Re:Re: will open jira for pig-0.8.1 test cases, please help to check some problemslulynn_2008 2011-09-07, 02:58
Hello Daniel,
what do you mean by " checkout from trunk and try "? At 2011-09-07 01:30:16,"Daniel Dai" <[EMAIL PROTECTED]> wrote: >Some test failures are caused by ant 1.8 (See PIG-2172). Also we use >ArrayList instead of HashMap in Pig 0.9. Can you checkout from trunk >and try? > >Daniel > >2011/9/5 lulynn_2008 <[EMAIL PROTECTED]>: >> Hello, >> Based on previous discussion with Thejas Nair about pig-0.8.1 unit test. I think jira should be opened for the following unit test(my research indicate the cause is HashMap does not guarantee ordering): >> org.apache.pig.test.TestDataModel >> org.apache.pig.test.TestLogToPhyCompiler >> org.apache.pig.test.TestMRCompiler >> org.apache.pig.test.TestMergeJoinOuter >> org.apache.pig.test.TestNewPlanLogToPhyTranslationVisitor >> org.apache.pig.test.TestPruneColumn >> org.apache.pig.test.TestUnionOnSchema >> org.apache.pig.test.TestPushDownForeachFlatten >> org.apache.pig.test.TestTypeCheckingValidator >> Actually, there are more three unit test failed, and I can not find the cause, please help to check the problems:(with sun java version "1.6.0_19" and Apache Ant(TM) version 1.8.2): >> >> >> [junit] Running org.apache.pig.test.TestJobSubmission >> [junit] Tests run: 6, Failures: 1, Errors: 5, Time elapsed: 0.213 sec >> >> Testcase: testJobControlCompilerErr took 0.01 sec >> >> FAILED >> >> org.apache.pig.backend.executionengine.ExecException: Cannot find hadoop configurations in classpath (neither hadoop-site.xml nor core-site.xml was found in the classpath).If you plan to use local mode, please put -x local option in command line -- a = load 'input'; >> >> junit.framework.AssertionFailedError: org.apache.pig.backend.executionengine.ExecException: Cannot find hadoop configurations in classpath (neither hadoop-site.xml nor core-site.xml was found in the classpath).If you plan to use local mode, please put -x local option in command line -- a = load 'input'; >> >> at org.apache.pig.test.utils.LogicalPlanTester.buildPlan(LogicalPlanTester.java:215) >> >> at org.apache.pig.test.utils.LogicalPlanTester.buildPlan(LogicalPlanTester.java:90) >> >> at org.apache.pig.test.TestJobSubmission.testJobControlCompilerErr(TestJobSubmission.java:450) >> >> >> >> Testcase: testDefaultParallel took 0 sec >> >> Caused an ERROR >> >> null >> >> java.lang.NullPointerException >> >> at org.apache.pig.test.TestJobSubmission.testDefaultParallel(TestJobSubmission.java:480) >> >> >> >> Testcase: testDefaultParallelInSort took 0 sec >> >> Caused an ERROR >> >> null >> >> java.lang.NullPointerException >> >> at org.apache.pig.test.TestJobSubmission.testDefaultParallelInSort(TestJobSubmission.java:506) >> >> >> >> Testcase: testDefaultParallelInSkewJoin took 0 sec >> >> Caused an ERROR >> >> null >> >> java.lang.NullPointerException >> >> at org.apache.pig.test.TestJobSubmission.testDefaultParallelInSkewJoin(TestJobSubmission.java:538) >> >> >> >> Testcase: testReducerNumEstimation took 0 sec >> >> Caused an ERROR >> >> null >> >> java.lang.NullPointerException >> >> at org.apache.pig.test.utils.LogicalPlanTester.buildPlan(LogicalPlanTester.java:213) >> >> at org.apache.pig.test.utils.LogicalPlanTester.buildPlan(LogicalPlanTester.java:90) >> >> at org.apache.pig.test.TestJobSubmission.testReducerNumEstimation(TestJobSubmission.java:573) >> >> >> >> Testcase: testReducerNumEstimationForOrderBy took 0 sec >> >> Caused an ERROR >> >> null >> >> java.lang.NullPointerException >> >> at org.apache.pig.test.TestJobSubmission.testReducerNumEstimationForOrderBy(TestJobSubmission.java:638) >> >> [junit] Running org.apache.pig.test.TestPigContext >> [junit] Tests run: 5, Failures: 0, Errors: 4, Time elapsed: 25.258 sec >> >> Testcase: testSetProperties_way_num01 took 6.941 sec >> >> Caused an ERROR >> >> null >> >> java.lang.NullPointerException >> >> at org.apache.pig.test.Util.deleteFile(Util.java:355) >> >> at org.apache.pig.test.TestPigContext.registerAndStore(TestPigContext.java:247) +
Daniel Dai 2011-09-07, 03:51
+
lulynn_2008 2011-09-14, 02:43
|