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

make the retry time and interval value configurable in openInfo()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0, 3.0.0-alpha1
    • 2.3.0
    • hdfs-client
    • None
    • Reviewed
    • Hide
      Makes the retries and time between retries getting the length of the last block on file configurable. Below are the new configurations.

      dfs.client.retry.times.get-last-block-length
      dfs.client.retry.interval-ms.get-last-block-length

      They are set to the 3 and 4000 respectively, these being what was previously hardcoded.

      Show
      Makes the retries and time between retries getting the length of the last block on file configurable. Below are the new configurations. dfs.client.retry.times.get-last-block-length dfs.client.retry.interval-ms.get-last-block-length They are set to the 3 and 4000 respectively, these being what was previously hardcoded.

    Description

      The original idea raised from Michael here: https://issues.apache.org/jira/browse/HDFS-1605?focusedCommentId=13846972&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13846972

      It would be better to have a lower interval value especially for online service, like HBase.

      Attachments

        1. HDFS-5663.txt
          5 kB
          Michael Stack
        2. HDFS-5663.txt
          5 kB
          Liang Xie

        Activity

          People

            xieliang007 Liang Xie
            xieliang007 Liang Xie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: