[ 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)