You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/05/03 21:03:24 UTC
[GitHub] ctubbsii opened a new issue #461: NoSuchElementException in
AccumuloMonitorAppenderTest
ctubbsii opened a new issue #461: NoSuchElementException in AccumuloMonitorAppenderTest
URL: https://github.com/apache/accumulo/issues/461
Originally mentioned by @joshelser on https://issues.apache.org/jira/browse/ACCUMULO-4409. @milleruntime told me he also saw it.
It looks like the problem is that the `Enumeration` in the set is not thread-safe. We could synchronize on updates to the appender's children, but it's only ever updated in a single thread; the only other thread reading this set is the test... so it's easier to just have the test handle the race condition by catching the `NoSuchElementException`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services