hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xuzq (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14543) RBF: RouterRpcClient shouldn't retry when the remoteException is RetryException
Date Tue, 04 Jun 2019 14:40:00 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message