accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4446) Add info log line in `getMonitorLock()`
Date Fri, 02 Sep 2016 16:27:21 GMT

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

Josh Elser commented on ACCUMULO-4446:
--------------------------------------

+1 An INFO log statement before attempting to acquire the lock and then after the lock is
acquired would be great.

Ensuring that these exist for the Master, TabletServer, and SimpleGarbageCollector would also
be great!

> Add info log line in `getMonitorLock()` 
> ----------------------------------------
>
>                 Key: ACCUMULO-4446
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4446
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: monitor
>            Reporter: Srikanth Viswanathan
>            Priority: Trivial
>
> When the monitor starts up and hangs on acquiring the monitor lock (for whatever reason,
perhaps there's another monitor instance already holding the lock), there is no suggestion
in the logs that the monitor is waiting on a lock. An info log would be appropriate here,
along with a debug line for each failed attempt. 
> Ref: https://github.com/apache/accumulo/blob/master/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java#L601



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message