You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/03/18 21:25:44 UTC

[jira] [Resolved] (PHOENIX-872) getConnection() sometimes fails with a ConcurrentModificationException

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

James Taylor resolved PHOENIX-872.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.0
                   4.0.0
                   3.0.0

> getConnection() sometimes fails with a ConcurrentModificationException
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-872
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-872
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Samarth Jain
>            Assignee: James Taylor
>             Fix For: 3.0.0, 4.0.0, 5.0.0
>
>         Attachments: PHOENIX-872.patch
>
>
> Relevant part of the stacktrace:
> {code}
> Caused by: java.util.ConcurrentModificationException
>     at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:394)
>     at java.util.LinkedHashMap$ValueIterator.next(LinkedHashMap.java:409)
>     at com.google.common.collect.Iterators$3.next(Iterators.java:160)
>     at org.apache.phoenix.schema.PMetaDataImpl.pruneTables(PMetaDataImpl.java:234)
>     at org.apache.phoenix.jdbc.PhoenixConnection.<init>(PhoenixConnection.java:178)
>     at org.apache.phoenix.query.ConnectionQueryServicesImpl.connect(ConnectionQueryServicesImpl.java:474)
>     at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:116)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)