[
https://issues.apache.org/jira/browse/HDDS-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539247#comment-16539247
]
Anu Engineer commented on HDDS-242:
-----------------------------------
# Should we fire an event if there node transitions from Stale/Dead to healthy
? , since we don't use it now, maybe leave a comment ?
# We need to integrate -- (Not as part of this patch, just an observation) To
SCMDatanodeHeartbeatDispatcher.
## – Command Status
## – ActionRequired
## – Pipeline Reports
# Eventually I would like to move the NodeHandler Section in
StorageContainerManager to its own static class. We can pass the EventQueue to
that Class. That way the call in StorageContainerManager will be
initEventHandlers()
#There is a bunch of CheckStyle issues.
* ContainerMapping.java :
** 'size' hides a field. (437:76) [HiddenFieldCheck]
** 'for' has incorrect indentation level 5, expected level should be 4.
(480:0) [IndentationCheck]
** 'containerInfos' has incorrect indentation level 8, expected level should
be 9. (481:0) [IndentationCheck]
** Line is longer than 80 characters (found 118). (501:0) [LineLengthCheck]
** Line is longer than 80 characters (found 84). (542:0) [LineLengthCheck]
* SCMNodeManager.java : 1 item(s)
** Line is longer than 80 characters (found 81). (345:0) [LineLengthCheck]
+1, after the Tests pass.
> Introduce NEW_NODE, STALE_NODE and DEAD_NODE event and corresponding event
> handlers in SCM
> ------------------------------------------------------------------------------------------
>
> Key: HDDS-242
> URL: https://issues.apache.org/jira/browse/HDDS-242
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: SCM
> Affects Versions: 0.2.1
> Reporter: Nanda kumar
> Assignee: Nanda kumar
> Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-242.000.patch, HDDS-242.001.patch,
> HDDS-242.002.patch
>
>
> With event queue in place, we can now fire events when there is a node state
> change and the corresponding handles in SCM can handle those events. This
> jira adds support for Node Events in EventQueue and respective event handlers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]