hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-10542) ConcurrentModificationException in TestHTraceHooks
Date Tue, 09 Sep 2014 05:19:32 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Enis Soztutar resolved HBASE-10542.
-----------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 0.99.0)

We did not see this recently. 

> ConcurrentModificationException in TestHTraceHooks
> --------------------------------------------------
>
>                 Key: HBASE-10542
>                 URL: https://issues.apache.org/jira/browse/HBASE-10542
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>
> I got this in one of my test runs: 
> {code}
> <error type="java.util.ConcurrentModificationException">java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
>         at java.util.HashMap$KeyIterator.next(HashMap.java:928)
>         at org.cloudera.htrace.TraceTree.&lt;init&gt;(TraceTree.java:48)
>         at org.apache.hadoop.hbase.trace.TestHTraceHooks.testTraceCreateTable(TestHTraceHooks.java:118)
>         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:601)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> {code}
> It looks like TraceTree ctor, clones the spans collection, but iterates over the original
argument, rather than cloned. 
> I don't know enough of HTrace to fix it, so just reporting it here. [~eclark] FYI. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message