[
https://issues.apache.org/jira/browse/HDFS-14146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719613#comment-16719613
]
Chen Liang commented on HDFS-14146:
-----------------------------------
This is a good discussion and good point on the deadlock possibility. Even
without considering the possible deadlock, handlers should probably never be
introduced to this potentially block when requeuing requests. Just to clarify,
so it seems to me we have two things to ensure about handler requeuing here: 1.
it never blocks; 2. if requeuing throws an exception, it is handled as it
should be. Thanks Chao for working on this critical issue!
> Handle exception from internalQueueCall
> ---------------------------------------
>
> Key: HDFS-14146
> URL: https://issues.apache.org/jira/browse/HDFS-14146
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ipc
> Reporter: Chao Sun
> Assignee: Chao Sun
> Priority: Critical
> Attachments: HDFS-14146-HDFS-12943.000.patch
>
>
> When we re-queue RPC call, the {{internalQueueCall}} will potentially throw
> exceptions (e.g., RPC backoff), which is then swallowed. This will cause the
> RPC to be silently discarded without response to the client, which is not
> good.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]