hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8582) Possible NullPointerException in ZKInterProcessLockBase#visitLocks
Date Tue, 21 May 2013 00:21:16 GMT

     [ 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 {
>     List<String> 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

Mime
View raw message