You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/06/16 19:50:23 UTC

[jira] Created: (HBASE-2737) CME in ZKW introduced in HBASE-2694

CME in ZKW introduced in HBASE-2694
-----------------------------------

                 Key: HBASE-2737
                 URL: https://issues.apache.org/jira/browse/HBASE-2737
             Project: HBase
          Issue Type: Bug
            Reporter: Jean-Daniel Cryans
             Fix For: 0.21.0


Saw this while tail'ing a log for something else:

{code}
2010-06-15 17:30:03,769 ERROR [main-EventThread] zookeeper.ClientCnxn$EventThread(490): Error while calling watcher
java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
        at java.util.AbstractList$Itr.next(AbstractList.java:343)
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.process(ZooKeeperWrapper.java:235)
{code}

Looks like the listeners list's iterator is used in an unprotected manner.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-2737) CME in ZKW introduced in HBASE-2694

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans reassigned HBASE-2737:
-----------------------------------------

    Assignee: Jonathan Gray

Assigning to Jon so that he takes a look.

> CME in ZKW introduced in HBASE-2694
> -----------------------------------
>
>                 Key: HBASE-2737
>                 URL: https://issues.apache.org/jira/browse/HBASE-2737
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jonathan Gray
>             Fix For: 0.21.0
>
>
> Saw this while tail'ing a log for something else:
> {code}
> 2010-06-15 17:30:03,769 ERROR [main-EventThread] zookeeper.ClientCnxn$EventThread(490): Error while calling watcher
> java.util.ConcurrentModificationException
>         at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
>         at java.util.AbstractList$Itr.next(AbstractList.java:343)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.process(ZooKeeperWrapper.java:235)
> {code}
> Looks like the listeners list's iterator is used in an unprotected manner.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-2737) CME in ZKW introduced in HBASE-2694

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2737.
---------------------------------------

    Hadoop Flags: [Reviewed]
      Resolution: Fixed

I gave it a spin and everything looks fine, committed to trunk. Thanks for the patch Karthik!

> CME in ZKW introduced in HBASE-2694
> -----------------------------------
>
>                 Key: HBASE-2737
>                 URL: https://issues.apache.org/jira/browse/HBASE-2737
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Karthik Ranganathan
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2737-0.21.patch
>
>
> Saw this while tail'ing a log for something else:
> {code}
> 2010-06-15 17:30:03,769 ERROR [main-EventThread] zookeeper.ClientCnxn$EventThread(490): Error while calling watcher
> java.util.ConcurrentModificationException
>         at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
>         at java.util.AbstractList$Itr.next(AbstractList.java:343)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.process(ZooKeeperWrapper.java:235)
> {code}
> Looks like the listeners list's iterator is used in an unprotected manner.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2737) CME in ZKW introduced in HBASE-2694

Posted by "Karthik Ranganathan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Ranganathan updated HBASE-2737:
---------------------------------------

    Attachment: HBASE-2737-0.21.patch

Making the register and unregister methods synchronized. Unit tests are passing. This change is so simple I am not putting it up on review board.

> CME in ZKW introduced in HBASE-2694
> -----------------------------------
>
>                 Key: HBASE-2737
>                 URL: https://issues.apache.org/jira/browse/HBASE-2737
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Karthik Ranganathan
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2737-0.21.patch
>
>
> Saw this while tail'ing a log for something else:
> {code}
> 2010-06-15 17:30:03,769 ERROR [main-EventThread] zookeeper.ClientCnxn$EventThread(490): Error while calling watcher
> java.util.ConcurrentModificationException
>         at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
>         at java.util.AbstractList$Itr.next(AbstractList.java:343)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.process(ZooKeeperWrapper.java:235)
> {code}
> Looks like the listeners list's iterator is used in an unprotected manner.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-2737) CME in ZKW introduced in HBASE-2694

Posted by "Karthik Ranganathan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Ranganathan reassigned HBASE-2737:
------------------------------------------

    Assignee: Karthik Ranganathan  (was: Jonathan Gray)

> CME in ZKW introduced in HBASE-2694
> -----------------------------------
>
>                 Key: HBASE-2737
>                 URL: https://issues.apache.org/jira/browse/HBASE-2737
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Karthik Ranganathan
>             Fix For: 0.21.0
>
>
> Saw this while tail'ing a log for something else:
> {code}
> 2010-06-15 17:30:03,769 ERROR [main-EventThread] zookeeper.ClientCnxn$EventThread(490): Error while calling watcher
> java.util.ConcurrentModificationException
>         at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
>         at java.util.AbstractList$Itr.next(AbstractList.java:343)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.process(ZooKeeperWrapper.java:235)
> {code}
> Looks like the listeners list's iterator is used in an unprotected manner.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.