fix synchronization around staleCount in DataCollector
------------------------------------------------------

                 Key: PIG-234
                 URL: https://issues.apache.org/jira/browse/PIG-234
             Project: Pig
          Issue Type: Bug
          Components: impl
            Reporter: Chad Whipkey
            Priority: Minor



DataCollector uses synchronized statements on staleCount, but the staleCount 
reference changes!  I'm proposing it switch to use the concurrent package Lock 
and condition to manage staleness.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to