[jira] [Updated] (HBASE-8582) Possible NullPointerException in ZKInterProcessLockBase#visitLocks

2013-05-20 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-8582:
--

Attachment: 8582-v1.txt

 Possible NullPointerException in ZKInterProcessLockBase#visitLocks
 --

 Key: HBASE-8582
 URL: https://issues.apache.org/jira/browse/HBASE-8582
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
 Attachments: 8582-v1.txt


 Running test suite on hadoop 2.0 I saw the following test failure:
 {code}
 testErrorReporter(org.apache.hadoop.hbase.util.TestHBaseFsck)  Time elapsed: 
 0.003 sec   ERROR!
 java.lang.NullPointerException
 at 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase.visitLocks(ZKInterProcessLockBase.java:426)
 at 
 org.apache.hadoop.hbase.master.TableLockManager$ZKTableLockManager.visitAllLocks(TableLockManager.java:386)
 at 
 org.apache.hadoop.hbase.util.hbck.TableLockChecker.checkTableLocks(TableLockChecker.java:76)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixTableLocks(HBaseFsck.java:2480)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:460)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:65)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:41)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:36)
 at 
 org.apache.hadoop.hbase.util.TestHBaseFsck.testErrorReporter(TestHBaseFsck.java:1868)
 {code}
 Here is related code:
 {code}
   public void visitLocks(MetadataHandler handler) throws IOException {
 ListString children;
 try {
   children = ZKUtil.listChildrenNoWatch(zkWatcher, parentLockNode);
 {code}
 Looks like children was null.

--
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


[jira] [Updated] (HBASE-8582) Possible NullPointerException in ZKInterProcessLockBase#visitLocks

2013-05-20 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-8582:
--

Status: Patch Available  (was: Open)

 Possible NullPointerException in ZKInterProcessLockBase#visitLocks
 --

 Key: HBASE-8582
 URL: https://issues.apache.org/jira/browse/HBASE-8582
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
 Attachments: 8582-v1.txt


 Running test suite on hadoop 2.0 I saw the following test failure:
 {code}
 testErrorReporter(org.apache.hadoop.hbase.util.TestHBaseFsck)  Time elapsed: 
 0.003 sec   ERROR!
 java.lang.NullPointerException
 at 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase.visitLocks(ZKInterProcessLockBase.java:426)
 at 
 org.apache.hadoop.hbase.master.TableLockManager$ZKTableLockManager.visitAllLocks(TableLockManager.java:386)
 at 
 org.apache.hadoop.hbase.util.hbck.TableLockChecker.checkTableLocks(TableLockChecker.java:76)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixTableLocks(HBaseFsck.java:2480)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:460)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:65)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:41)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:36)
 at 
 org.apache.hadoop.hbase.util.TestHBaseFsck.testErrorReporter(TestHBaseFsck.java:1868)
 {code}
 Here is related code:
 {code}
   public void visitLocks(MetadataHandler handler) throws IOException {
 ListString children;
 try {
   children = ZKUtil.listChildrenNoWatch(zkWatcher, parentLockNode);
 {code}
 Looks like children was null.

--
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


[jira] [Updated] (HBASE-8582) Possible NullPointerException in ZKInterProcessLockBase#visitLocks

2013-05-20 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-8582:
--

Fix Version/s: 0.95.1
   0.98.0
 Hadoop Flags: Reviewed

Integrated to 0.95 and trunk.

Thanks for the quick review, Jon.

 Possible NullPointerException in ZKInterProcessLockBase#visitLocks
 --

 Key: HBASE-8582
 URL: https://issues.apache.org/jira/browse/HBASE-8582
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
 Fix For: 0.98.0, 0.95.1

 Attachments: 8582-v1.txt


 Running test suite on hadoop 2.0 I saw the following test failure:
 {code}
 testErrorReporter(org.apache.hadoop.hbase.util.TestHBaseFsck)  Time elapsed: 
 0.003 sec   ERROR!
 java.lang.NullPointerException
 at 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase.visitLocks(ZKInterProcessLockBase.java:426)
 at 
 org.apache.hadoop.hbase.master.TableLockManager$ZKTableLockManager.visitAllLocks(TableLockManager.java:386)
 at 
 org.apache.hadoop.hbase.util.hbck.TableLockChecker.checkTableLocks(TableLockChecker.java:76)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixTableLocks(HBaseFsck.java:2480)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:460)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:65)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:41)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:36)
 at 
 org.apache.hadoop.hbase.util.TestHBaseFsck.testErrorReporter(TestHBaseFsck.java:1868)
 {code}
 Here is related code:
 {code}
   public void visitLocks(MetadataHandler handler) throws IOException {
 ListString children;
 try {
   children = ZKUtil.listChildrenNoWatch(zkWatcher, parentLockNode);
 {code}
 Looks like children was null.

--
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


[jira] [Updated] (HBASE-8582) Possible NullPointerException in ZKInterProcessLockBase#visitLocks

2013-05-20 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-8582:
--

Resolution: Fixed
Status: Resolved  (was: Patch Available)

 Possible NullPointerException in ZKInterProcessLockBase#visitLocks
 --

 Key: HBASE-8582
 URL: https://issues.apache.org/jira/browse/HBASE-8582
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
 Fix For: 0.98.0, 0.95.1

 Attachments: 8582-v1.txt


 Running test suite on hadoop 2.0 I saw the following test failure:
 {code}
 testErrorReporter(org.apache.hadoop.hbase.util.TestHBaseFsck)  Time elapsed: 
 0.003 sec   ERROR!
 java.lang.NullPointerException
 at 
 org.apache.hadoop.hbase.zookeeper.lock.ZKInterProcessLockBase.visitLocks(ZKInterProcessLockBase.java:426)
 at 
 org.apache.hadoop.hbase.master.TableLockManager$ZKTableLockManager.visitAllLocks(TableLockManager.java:386)
 at 
 org.apache.hadoop.hbase.util.hbck.TableLockChecker.checkTableLocks(TableLockChecker.java:76)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixTableLocks(HBaseFsck.java:2480)
 at 
 org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:460)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:65)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:41)
 at 
 org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.doFsck(HbckTestingUtil.java:36)
 at 
 org.apache.hadoop.hbase.util.TestHBaseFsck.testErrorReporter(TestHBaseFsck.java:1868)
 {code}
 Here is related code:
 {code}
   public void visitLocks(MetadataHandler handler) throws IOException {
 ListString children;
 try {
   children = ZKUtil.listChildrenNoWatch(zkWatcher, parentLockNode);
 {code}
 Looks like children was null.

--
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