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

Nanda kumar commented on HDFS-12647:
------------------------------------

Patch v001 adds logic to make sure that all the outstanding DatanodeCommands 
are executed before sending FBR, and some minor refactoring.

> DN commands processing should be async
> --------------------------------------
>
>                 Key: HDFS-12647
>                 URL: https://issues.apache.org/jira/browse/HDFS-12647
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 2.8.0
>            Reporter: Daryn Sharp
>            Assignee: Nanda kumar
>         Attachments: HDFS-12647.000.patch, HDFS-12647.001.patch
>
>
> Due to dataset lock contention, service actors may encounter significant 
> latency while processing  DN commands.  Even the queuing of async deletions 
> require multiple lock acquisitions.  A slow disk will cause a backlog of 
> xceivers instantiating block sender/receivers which starves the actor and 
> leads to the NN falsely declaring the node dead.
> Async processing of all commands will free the actor to perform its primary 
> purpose of heartbeating and block reporting.  Note that FBRs will be 
> dependent on queued block invalidations not being included in the report.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to