You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mukul Kumar Singh (Jira)" <ji...@apache.org> on 2020/04/21 16:17:00 UTC

[jira] [Commented] (HDDS-3451) Add timeout to XceiverServerRatis#submitRequest call

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

Mukul Kumar Singh commented on HDDS-3451:
-----------------------------------------

Thanks for the contribution [~nanda] and [~xyao] for reviews. I have merged this.

> Add timeout to XceiverServerRatis#submitRequest call
> ----------------------------------------------------
>
>                 Key: HDDS-3451
>                 URL: https://issues.apache.org/jira/browse/HDDS-3451
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 0.5.0
>            Reporter: Nilotpal Nandi
>            Assignee: Nanda kumar
>            Priority: Major
>              Labels: pull-request-available
>
> There are cases where {{org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis#submitRequest}} call waits forever blocking the thread which calls it.
> This is causing a problem with the CommandHanler thread in Datanode. The CommandHandler thread is blocked on {{XceiverServerRatis#submitRequest}} because of which all the subsequent commands sent by SCM are not getting processed in datanode.
> We should add a timeout for this call and throw {{TimeoutException}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org