You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "ZanderXu (Jira)" <ji...@apache.org> on 2022/07/30 03:09:00 UTC
[jira] [Created] (HDFS-16703) Enable RPC Timeout for some protocols of NameNode.
ZanderXu created HDFS-16703:
-------------------------------
Summary: Enable RPC Timeout for some protocols of NameNode.
Key: HDFS-16703
URL: https://issues.apache.org/jira/browse/HDFS-16703
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: ZanderXu
Assignee: ZanderXu
When I read some code about protocol, I found that only ClientNamenodeProtocolPB proxy with RPC timeout, other protocolPB proxy without RPC timeout, such as RefreshAuthorizationPolicyProtocolPB, RefreshUserMappingsProtocolPB, RefreshCallQueueProtocolPB, GetUserMappingsProtocolPB and NamenodeProtocolPB.
If proxy without rpc timeout, it will be blocked for a long time if the NN machine crash or bad network during writing or reading with NN.
So I feel that we should enable RPC timeout for all ProtocolPB.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org