Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14543

RBF: RouterRpcClient shouldn't retry when the remoteException is RetryException

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • rbf
    • None

    Description

      Currently RouterRpcClient will retry when the remote exception is RetryException.

      And it will use one handler to retry 3 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.

       

      Attachments

        Activity

          People

            xuzq_zander ZanderXu
            xuzq_zander ZanderXu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: