hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7933) NPE in TableLockManager
Date Tue, 26 Feb 2013 03:40:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586695#comment-13586695

Enis Soztutar commented on HBASE-7933:

I think the bug is a race condition for the parent znode for the table. TableLockManager#tableDeleted()
deletes parent znode, so that we do not leak znodes for deleted tables. 

2013-02-25 13:42:09,294 DEBUG [MASTER_TABLE_OPERATIONS-,54545,1361828508393-0] master.TableLockManager$ZKTableLockManager$TableLockImpl(253):
Attempt to release table write lock on :test
2013-02-25 13:42:09,298 DEBUG [IPC Server handler 3 on 54545] master.TableLockManager$ZKTableLockManager$TableLockImpl(225):
Attempt to acquire table write lock on :test for:C_M_CREATE_TABLE
2013-02-25 13:42:09,309 DEBUG [MASTER_TABLE_OPERATIONS-,54545,1361828508393-0] lock.ZKInterProcessLockBase(296):
Successfully released /hbase/table-lock/test/write-master:545450000000002
2013-02-25 13:42:09,309 DEBUG [MASTER_TABLE_OPERATIONS-,54545,1361828508393-0] master.TableLockManager$ZKTableLockManager$TableLockImpl(269):
Released table lock on :test
2013-02-25 13:42:09,309 INFO  [IPC Server handler 3 on 54545] zookeeper.RecoverableZooKeeper(460):
Node /hbase/table-lock/test already exists and this is not a retry
2013-02-25 13:42:09,311 WARN  [IPC Server handler 3 on 54545] lock.ZKInterProcessLockBase(229):
Failed to create znode: /hbase/table-lock/test/write-
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /hbase/table-lock/test/write-master:54545
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
	at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createSequential(RecoverableZooKeeper.java:496)
	at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:427)
	at org.apache.hadoop.hbase.zookeeper.ZKUtil.createNodeIfNotExistsNoWatch(ZKUtil.java:1069)
> NPE in TableLockManager
> -----------------------
>                 Key: HBASE-7933
>                 URL: https://issues.apache.org/jira/browse/HBASE-7933
>             Project: HBase
>          Issue Type: Bug
>          Components: master, Zookeeper
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.96.0
> We are getting NPE in TableLockManager sometimes in tests. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message