[
https://issues.apache.org/jira/browse/PIG-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai updated PIG-2426:
----------------------------
Attachment: PIG-2426-3.patch
TestPigProgressReporting hit a NPE in hadoop 23. Attach PIG-2426-3.patch to fix
it.
> ProgressableReporter.progress(String msg) is an empty function
> --------------------------------------------------------------
>
> Key: PIG-2426
> URL: https://issues.apache.org/jira/browse/PIG-2426
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.1, 0.9.1
> Reporter: Vivek Padmanabhan
> Assignee: Vivek Padmanabhan
> Priority: Minor
> Fix For: 0.10, 0.11
>
> Attachments: PIG-2426-3.patch, PIG-2426_1.patch, PIG-2426_2.patch,
> TEST-org.apache.pig.test.TestAccumulator.txt, partial_run.txt
>
>
> In current implementation the reporter function
> ProgressableReporter.progress(String msg) is an empty function.
> If I have a long running UDF and I want update the status using a message,
> the preferred way is to use this api.
> The previous implementation of ProgressableReporter used
> org.apache.hadoop.mapred.Reporter api directly.
> But the currently used org.apache.hadoop.util.Progressable interface does
> not have api to set status as a given message.
> Hence I believe the empty method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira