[ https://issues.apache.org/jira/browse/OOZIE-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011417#comment-14011417 ]
Mona Chitnis commented on OOZIE-1801: ------------------------------------- bq. Another reason for having it is that without HA, we have it, so this at least keeps things consistent. okay. > ZKLocksService instrumentation should say how many locks this server has > ------------------------------------------------------------------------ > > Key: OOZIE-1801 > URL: https://issues.apache.org/jira/browse/OOZIE-1801 > Project: Oozie > Issue Type: Improvement > Components: HA > Affects Versions: trunk > Reporter: Robert Kanter > Assignee: Robert Kanter > Fix For: trunk > > Attachments: OOZIE-1801.patch > > > The MemoryLocksService has a variable named "locks" under the "locks" group > in the instrumentation that reports how many locks are currently acquired. > When using Oozie HA, we don't have this. > We shouldn't have it report the total number of locks acquired by all Oozie > servers because that would require checking ZooKeeper every time we check > this. However, reporting the number of locks acquired by _this_ Oozie server > should be inexpensive while still being helpful and similar to the non-HA > behavior. -- This message was sent by Atlassian JIRA (v6.2#6252)