hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1934) Potential NPE in ZKRMStateStore caused by handling Disconnected event from ZK.
Date Wed, 16 Apr 2014 11:26:18 GMT

    [ https://issues.apache.org/jira/browse/YARN-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970684#comment-13970684
] 

Hudson commented on YARN-1934:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #542 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/542/])
YARN-1934. Fixed a potential NPE in ZKRMStateStore caused by handling Disconnected event from
ZK. Contributed by Karthik Kambatla. (jianhe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1587776)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java


> 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
>            Assignee: Karthik Kambatla
>            Priority: Blocker
>             Fix For: 2.4.1
>
>         Attachments: RM.txt, yarn-1934-0.patch
>
>
> 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