hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1934) Potential NPE in ZKRMStateStore caused by handling Disconnected event from ZK.
Date Sat, 12 Apr 2014 07:20:15 GMT
Rohith created YARN-1934:
----------------------------

             Summary: Potential NPE in ZKRMStateStore caused by handling Disconnected event
from ZK.
                 Key: YARN-1934
                 URL: https://issues.apache.org/jira/browse/YARN-1934
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 2.4.0
            Reporter: Rohith
            Priority: Critical


For ZK disconnected event , zkClient is set to null. It is very much prone to throw NPE.

{noformat}
        case Disconnected:
          LOG.info("ZKRMStateStore Session disconnected");
          oldZkClient = zkClient;
          zkClient = null;
          break;
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message