Elek, Marton created HDDS-240: --------------------------------- Summary: Implement metrics for EventQueue Key: HDDS-240 URL: https://issues.apache.org/jira/browse/HDDS-240 Project: Hadoop Distributed Data Store Issue Type: Bug Components: SCM Reporter: Elek, Marton Assignee: Elek, Marton Fix For: 0.2.1
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: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org