You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Srikanth Viswanathan (JIRA)" <ji...@apache.org> on 2016/09/02 15:56:20 UTC

[jira] [Commented] (ACCUMULO-4446) Add info log line in `getMonitorLock()`

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

Srikanth Viswanathan commented on ACCUMULO-4446:
------------------------------------------------

Happy to provide PR. Let me know.

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