hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14048) Procedure framework doesn't always check for null return from ZK getData
Date Thu, 09 Jul 2015 17:48:04 GMT
Andrew Purtell created HBASE-14048:
--------------------------------------

             Summary: Procedure framework doesn't always check for null return from ZK getData
                 Key: HBASE-14048
                 URL: https://issues.apache.org/jira/browse/HBASE-14048
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.13
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
             Fix For: 0.98.14


Example:

{noformat}
2015-07-09 04:20:30,649 ERROR [ver60020-EventThread] zookeeper.ClientCnxn - Error while calling
watcher 
java.lang.NullPointerException
    at org.apache.hadoop.hbase.protobuf.ProtobufUtil.isPBMagicPrefix(ProtobufUtil.java:241)
    at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.startNewSubprocedure(ZKProcedureMemberRpcs.java:203)
    at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.waitForNewProcedures(ZKProcedureMemberRpcs.java:172)
    at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.access$100(ZKProcedureMemberRpcs.java:55)
    at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs$1.nodeChildrenChanged(ZKProcedureMemberRpcs.java:107)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:358)
    at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:522)
    at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
{noformat}

This is observed with 0.98.

There may be a deeper cause but let's start by fixing the obvious problem. Audit ProcedureV2
also on later branches.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message