You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2014/12/08 23:49:12 UTC

[jira] [Updated] (PIG-4338) Fix test failures with JDK8

     [ https://issues.apache.org/jira/browse/PIG-4338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohini Palaniswamy updated PIG-4338:
------------------------------------
    Attachment: PIG-4338-1.patch

Changes done:
   - Fixed test failures caused by HashSet iteration order change in JDK 8.  
   - Changed javac version to 1.6 in build.xml. Should be changing it to 1.7 before we release pig 0.15. But for now at least made it 1.6
   - Moved threadpool initialization to launchPig in TezLauncher. It was unnecessarily creating threadpool even for explain (TestTezCompiler). 

> Fix test failures with JDK8
> ---------------------------
>
>                 Key: PIG-4338
>                 URL: https://issues.apache.org/jira/browse/PIG-4338
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>             Fix For: 0.15.0
>
>         Attachments: PIG-4338-1.patch
>
>
> See 15 failures
> 1) TestTezJobControlCompiler.testTezParallelismEstimatorSplitBranch
> junit.framework.AssertionFailedError: expected:<-1> but was:<7>
> 	at org.apache.pig.tez.TestTezJobControlCompiler.testTezParallelismEstimatorSplitBranch(TestTezJobControlCompiler.java:272)
> 2) TestAvroStorage.testLoadRecordsWithMaps
> 3) TestTezCompiler - 13 failures.
> 2 and 3 are due to relying on hashmap order



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)