[
https://issues.apache.org/jira/browse/PIG-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873908#action_12873908
]
Dmitriy V. Ryaboy commented on PIG-1428:
----------------------------------------
Findbugs is quite right to call me out on the synchronization thing. I am not
sure why the setter needs to by synchronized; I am even less sure the getter
should be. Seems like this would add one more lock every time we want to
increment a counter or write a log line, which is unfortunate (I assume those
objects handle their own concurrency issues). Can Richard or Pradeep comment on
that?
> Add getPigStatusReporter() to PigHadoopLogger
> ---------------------------------------------
>
> Key: PIG-1428
> URL: https://issues.apache.org/jira/browse/PIG-1428
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Ashutosh Chauhan
> Assignee: Dmitriy V. Ryaboy
> Fix For: 0.8.0
>
> Attachments: PIG-1428.patch
>
>
> Without this getter method, its not possible to get counters, report progress
> etc. from UDFs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.