Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19092 ABFS phase 4: post Hadoop 3.4.0 features
  3. HADOOP-19096

[ABFS] Enhancing Client-Side Throttling Metrics Updation Logic

    XMLWordPrintableJSON

Details

    Description

      ABFS has a client-side throttling mechanism which works on the metrics collected from past requests made. I requests are getting failed due to throttling at server, we update our metrics and client side backoff is calculated based on those metrics.

      This PR enhances the logic to decide which requests should be considered to compute client side backoff interval as follows:

      For each request made by ABFS driver, we will determine if they should contribute to Client-Side Throttling based on the status code and result:

      1. Status code in 2xx range: Successful Operations should contribute.
      2. Status code in 3xx range: Redirection Operations should not contribute.
      3. Status code in 4xx range: User Errors should not contribute.
      4. Status code is 503: Throttling Error should contribute only if they are due to client limits breach as follows:
        1. 503, Ingress Over Account Limit: Should Contribute
        2. 503, Egress Over Account Limit: Should Contribute
        3. 503, TPS Over Account Limit: Should Contribute
        4. 503, Other Server Throttling: Should not Contribute.
      5. Status code in 5xx range other than 503: Should not Contribute.
      6. IOException and UnknownHostExceptions: Should not Contribute.

      Attachments

        Activity

          People

            anujmodi2021 Anuj Modi
            anujmodi2021 Anuj Modi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: