[ 
https://issues.apache.org/jira/browse/HDFS-16703?focusedWorklogId=796564&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-796564
 ]

ASF GitHub Bot logged work on HDFS-16703:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Jul/22 03:10
            Start Date: 30/Jul/22 03:10
    Worklog Time Spent: 10m 
      Work Description: ZanderXu opened a new pull request, #4660:
URL: https://github.com/apache/hadoop/pull/4660

   ### Description of PR
   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.
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 796564)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to