accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2425) ConcurrentModificationException in master at startup
Date Thu, 06 Mar 2014 18:54:50 GMT


John Vines commented on ACCUMULO-2425:

Alright, I'm pretty sure the MonitorLog4jWatcher, which calls System.setProperty, is causing
this. The CME occurs when there is iteration over the result of System.getProperties, which
does no copying for thread safety. I like to think that this should be something handled in
Commons configuration (which it's still not in later releases). At the very least, we can
address this manually by not relying directly on SystemConfiguration or maybe starting the
MonitorLog4jWatcher later

> ConcurrentModificationException in master at startup
> ----------------------------------------------------
>                 Key: ACCUMULO-2425
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.5.1
>            Reporter: John Vines
>            Assignee: John Vines
> I had brought down my accumulo services hard, immediately ran start-here to bring them
up again and the master didn't seem to start. Checked the logs and I had 
> {code}2014-03-03 16:38:05,336 [master.Master] ERROR: Unexpected exception, exiting
> java.util.ConcurrentModificationException
>         at java.util.Hashtable$
>         at org.apache.commons.configuration.AbstractConfiguration.append(
>         at org.apache.accumulo.core.conf.Property.getDefaultValue(
>         at org.apache.accumulo.core.conf.DefaultConfiguration.iterator(
>         at org.apache.accumulo.core.conf.SiteConfiguration.iterator(
>         at org.apache.accumulo.server.conf.ZooConfiguration.iterator(
>         at org.apache.accumulo.server.Accumulo.init(
>         at org.apache.accumulo.server.master.Master.main(
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at org.apache.accumulo.start.Main$
>         at
> {code}
> sitting there, and then it seems the master died. Started it up again and it was fine.

This message was sent by Atlassian JIRA

View raw message