pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3858) PigLogger/PigStatusReporter is not set for fetch tasks
Date Fri, 04 Apr 2014 14:54:18 GMT

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

Cheolsoo Park updated PIG-3858:
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thank you Lorand!

> PigLogger/PigStatusReporter is not set for fetch tasks
> ------------------------------------------------------
>
>                 Key: PIG-3858
>                 URL: https://issues.apache.org/jira/browse/PIG-3858
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Lorand Bendig
>            Assignee: Lorand Bendig
>             Fix For: 0.13.0
>
>         Attachments: PIG-3858.patch
>
>
> PigLogger initialization is missing which leads to NPE if counters are accessed during
a fetch tasks. Some queries to reproduce this issue:
> 1.
> {code}
> set opt.fetch true;
> A = load ...
> B = foreach A generate TOBAG(TOTUPLE(null));
> dump B;
> {code}
> -> NPE when PigWarning.SKIP_UDF_CALL_FOR_NULL is incremented
> 2.
> {code}
> set opt.fetch true;
> set pig.udf.profile true;
> A = load ...
> B = foreach A generate [any UDF]
> {code}
> -> NPE when POUserFunc.INVOCATION_COUNTER is incremented



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message