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

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

Nanda kumar created HDDS-3451:
---------------------------------

             Summary: 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: Nanda kumar
            Assignee: Nanda kumar


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