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/10/21 22:46:33 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:     (was: 4.0.0)
                       (was: 3.0.0)
                   4.1
                   3.1

> 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: 5.0.0, 3.1, 4.1
>
>         Attachments: PHOENIX-872.patch, PHOENIX-872_2.patch, PHOENIX-872_3.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.3.4#6332)