hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2241) Show nicer messages when ZNodes already exist in ZKRMStateStore on startup
Date Tue, 01 Jul 2014 23:56:24 GMT

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

Robert Kanter updated YARN-2241:
--------------------------------

    Attachment: YARN-2241.patch

The Exception catching was simply in the wrong place; I moved it to the right place and it
now prints a nicer DEBUG message instead of the exceptions/stack traces.  I also added a unit
test.

> Show nicer messages when ZNodes already exist in ZKRMStateStore on startup
> --------------------------------------------------------------------------
>
>                 Key: YARN-2241
>                 URL: https://issues.apache.org/jira/browse/YARN-2241
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.5.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Minor
>         Attachments: YARN-2241.patch
>
>
> When using the RMZKStateStore, if you restart the RM, you get a bunch of stack traces
with messages like {{org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode
= NodeExists for /rmstore}}.  This is expected as these nodes already exist from before. 
We should catch these and print nicer messages.



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

Mime
View raw message