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

Ajay Kumar commented on HDDS-187:
---------------------------------

[~xyao] thanks for review. Attached patch v5 with following changes:
# Changed cmdId to long (generated from a Util class)
# Updated StateContext#cmdMap contains mutable CommandStatus as values.
# HeartbeatEndpointTask Line 191/204/215 moved to StateContext#addCommand()
# CommandHandler command Status update moved to StateContext#updateCommandStatus
# ozone.command.status.report.interval renamed to 
hdds.command.status.report.interval
# StateContext L291 has documentation to warn users about null return. 
# Added api to remove commandStatus object in StateContext.
# Fixed failing TestReportPublisher.


> Command status publisher for datanode
> -------------------------------------
>
>                 Key: HDDS-187
>                 URL: https://issues.apache.org/jira/browse/HDDS-187
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>    Affects Versions: 0.2.1
>            Reporter: Ajay Kumar
>            Assignee: Ajay Kumar
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-187.00.patch, HDDS-187.01.patch, HDDS-187.02.patch, 
> HDDS-187.03.patch, HDDS-187.04.patch, HDDS-187.05.patch
>
>
> Currently SCM sends set of commands for DataNode. DataNode executes them via 
> CommandHandler. This jira intends to create a Command status publisher which 
> will return status of these commands back to the SCM.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to