pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PIG-4832) Fix TestPrumeColumn NPE failure
Date Mon, 21 Mar 2016 21:11:25 GMT

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

Daniel Dai resolved PIG-4832.
-----------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 0.16.0
                   spark-branch

This addresses PIG-4731. Committed to both trunk and spark branch. Thanks Liyun!

> Fix TestPrumeColumn NPE failure
> -------------------------------
>
>                 Key: PIG-4832
>                 URL: https://issues.apache.org/jira/browse/PIG-4832
>             Project: Pig
>          Issue Type: Bug
>            Reporter: liyunzhang_intel
>            Assignee: liyunzhang_intel
>             Fix For: spark-branch, 0.16.0
>
>         Attachments: PIG-4832.patch
>
>
>  ant clean -Dtestcase=TestPruneColumn  -Dexectype=mr  -Dhadoopversion=23 test
> following tests fail:
> testSharedSchemaObject 
> testMapKey4
> Error message:
> {code}
> Testcase: testSharedSchemaObject took 0.133 sec
>         Caused an ERROR 
> Unable to open iterator for alias C
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator
for alias C
>         at org.apache.pig.PigServer.openIterator(PigServer.java:957)
>         at org.apache.pig.test.TestPruneColumn.testSharedSchemaObject(TestPruneColumn.java:1660)
> Caused by: org.apache.pig.PigException: ERROR 1002: Unable to store alias C
>         at org.apache.pig.PigServer.storeEx(PigServer.java:1060)
>         at org.apache.pig.PigServer.store(PigServer.java:1019)
>         at org.apache.pig.PigServer.openIterator(PigServer.java:932)
> Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR 0: java.lang.NullPointerException
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:310)
>         at org.apache.pig.PigServer.launchPlan(PigServer.java:1412)
>         at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1397)
>         at org.apache.pig.PigServer.storeEx(PigServer.java:1056)
> Caused by: java.lang.NullPointerException
>         at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getNextTuple(POStore.java:164)
>         at org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.runPipeline(FetchLauncher.java:157)
>         at org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.launchPig(FetchLauncher.java:81)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:302)
> Testcase: testMapKey4 took 0.127 sec
>         Caused an ERROR
> Unable to open iterator for alias C
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator
for alias C
>         at org.apache.pig.PigServer.openIterator(PigServer.java:957)
>         at org.apache.pig.test.TestPruneColumn.testMapKey4(TestPruneColumn.java:1242)
> Caused by: org.apache.pig.PigException: ERROR 1002: Unable to store alias C
>         at org.apache.pig.PigServer.storeEx(PigServer.java:1060)
>         at org.apache.pig.PigServer.store(PigServer.java:1019)
>         at org.apache.pig.PigServer.openIterator(PigServer.java:932)
> Caused by: org.apache.pig.backend.executionengine.ExecException: ERROR 0: java.lang.NullPointerException
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:310)
>         at org.apache.pig.PigServer.launchPlan(PigServer.java:1412)
>         at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1397)
>         at org.apache.pig.PigServer.storeEx(PigServer.java:1056)
> Caused by: java.lang.NullPointerException
>         at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getNextTuple(POStore.java:164)
>         at org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.runPipeline(FetchLauncher.java:157)
>         at org.apache.pig.backend.hadoop.executionengine.fetch.FetchLauncher.launchPig(FetchLauncher.java:81)
>         at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:302)
> {code}
> The reason why they fail is because POStore#sDecorator is null in some cases.



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

Mime
View raw message