[
https://issues.apache.org/jira/browse/HDDS-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537458#comment-16537458
]
Anu Engineer commented on HDDS-240:
-----------------------------------
+1, I will commit this shortly.
> Implement metrics for EventQueue
> --------------------------------
>
> Key: HDDS-240
> URL: https://issues.apache.org/jira/browse/HDDS-240
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: SCM
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-240.001.patch
>
>
> The heart of the SCM is the lightweight EventQueue which is implemented in
> HDDS-25.
> The main advantage to use a centralized EventQueue API is that all the thread
> handling could be implemented in one central place (with unified the
> monitoring, thread naming, lifecycle management).
> In this jira I propose to create basic metrics for EventQueue. As (in the
> current implementation) each handler has an own executor which has already
> some metrics (for check when the unit tests could be stoped), it's quite easy
> to convert the atomic counters to real hadoop metrics.
> For the sake of simplicity I also propose to remove the addHandlerGroup. The
> method supported the case when the Executor was shared between multiple
> handlers. It's a special case, it's more harder to monitor (we need tricky
> naming convention) and can't see real demand. We can restore it when we will
> see the requirements.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]