[
https://issues.apache.org/jira/browse/ACCUMULO-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625676#comment-13625676
]
Hudson commented on ACCUMULO-1252:
----------------------------------
Integrated in Accumulo-1.5-Hadoop-2.0 #68 (See
[https://builds.apache.org/job/Accumulo-1.5-Hadoop-2.0/68/])
ACCUMULO-1252 remove loaded files outside the threadpool (Revision 1465688)
Result = ABORTED
ecn :
Files :
* /accumulo/branches/1.5
* /accumulo/branches/1.5/assemble
* /accumulo/branches/1.5/core
* /accumulo/branches/1.5/examples
*
/accumulo/branches/1.5/fate/src/main/java/org/apache/accumulo/fate/ZooStore.java
*
/accumulo/branches/1.5/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooSession.java
* /accumulo/branches/1.5/server
*
/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/tableOps/BulkImport.java
* /accumulo/branches/1.5/src
> Race condition in BulkImport causes ConcurrentModificationException
> -------------------------------------------------------------------
>
> Key: ACCUMULO-1252
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1252
> Project: Accumulo
> Issue Type: Bug
> Affects Versions: 1.4.2
> Reporter: William Slacum
>
> The LoadFiles class gets a synchronized list of files to import and, while
> iterating over that list, creates another list of Callable's. If the list of
> files to load is long enough, it's possible that a bulk import on a previous
> file in the list could finish and remove itself from the master list before
> all of the commands to import the rest of the files are created. This causes
> a ConcurrentModificationException when trying to fetch the next file to load.
> I think the concurrent lists support an iterator that will not fail if the
> underlying list is modified, but if not, I think this can be solved by first
> creating a list of Callables and then adding them to the thread pool in a
> separate loop.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira