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

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: https://issues.apache.org/jira/browse/ACCUMULO-2425
>             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$Enumerator.next(Hashtable.java:1048)
>         at 
> org.apache.commons.configuration.AbstractConfiguration.append(AbstractConfiguration.java:1239)
>         at 
> org.apache.accumulo.core.conf.Property.getDefaultValue(Property.java:401)
>         at 
> org.apache.accumulo.core.conf.DefaultConfiguration.iterator(DefaultConfiguration.java:54)
>         at 
> org.apache.accumulo.core.conf.SiteConfiguration.iterator(SiteConfiguration.java:77)
>         at 
> org.apache.accumulo.server.conf.ZooConfiguration.iterator(ZooConfiguration.java:127)
>         at org.apache.accumulo.server.Accumulo.init(Accumulo.java:125)
>         at org.apache.accumulo.server.master.Master.main(Master.java:2303)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:622)
>         at org.apache.accumulo.start.Main$1.run(Main.java:103)
>         at java.lang.Thread.run(Thread.java:701)
> {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
(v6.2#6252)

Reply via email to