accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey J. Nolet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1776) MiniAccumuloCluster has ConcurrentModificationException
Date Sun, 13 Oct 2013 00:48:42 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793545#comment-13793545
] 

Corey J. Nolet commented on ACCUMULO-1776:
------------------------------------------

This should probably be changed as well:

{noformat}
        for (Process tserver : tabletServerProcesses) {
          if (proc.equals(tserver)) {
            tabletServerProcesses.remove(tserver);
            tserver.destroy();
            found = true;
            break;
          }
        }
{noformat}

> MiniAccumuloCluster has ConcurrentModificationException
> -------------------------------------------------------
>
>                 Key: ACCUMULO-1776
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1776
>             Project: Accumulo
>          Issue Type: Bug
>          Components: mini
>            Reporter: Christopher Tubbs
>             Fix For: 1.6.0
>
>
> MiniAccumuloCluster throws concurrency exception in loop over tabletServerProcesses in
stop().
> The likely suspect is the shutdown hook that also calls stop.
> stop, and other methods that modify this list (killProcess, start, exec) should be synchronized.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message