You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org> on 2012/01/02 20:12:30 UTC
[jira] [Commented] (PIG-2426) ProgressableReporter.progress(String
msg) is an empty function
[ https://issues.apache.org/jira/browse/PIG-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178517#comment-13178517 ]
Daniel Dai commented on PIG-2426:
---------------------------------
Looks good. Will commit once tests pass.
> 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
>
> Attachments: 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