xuzq created HDFS-14543:
---------------------------

             Summary: RBF: RouterRpcClient shouldn't retry when the 
remoteException is RetryException
                 Key: HDFS-14543
                 URL: https://issues.apache.org/jira/browse/HDFS-14543
             Project: Hadoop HDFS
          Issue Type: Task
          Components: rbf
            Reporter: xuzq
            Assignee: xuzq


Currently RouterRpcClient will retry when the remote exception is 
RetryException.

And it will use one handler to retry 15 times, if the remote exception is 
always RetryException.

Although there is no sleep between retries, but it may costs some other 
resources.

So, RouterRpcClient show return the RetryException to client if the name node 
returns RetryException, and do sleep at client.

After sleep some times, client can request the same Router.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to