You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/02/05 01:30:14 UTC

[jira] [Created] (ACCUMULO-2324) DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object

Ted Yu created ACCUMULO-2324:
--------------------------------

             Summary: DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object
                 Key: ACCUMULO-2324
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2324
             Project: Accumulo
          Issue Type: Bug
            Reporter: Ted Yu


Synchronization is done on condVar, a String.
This is not good practice.

See http://stackoverflow.com/questions/133988/problem-with-synchronizing-on-string-objects



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)