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

shouldRetry() in WebHDFSFileSystem generates excessive warnings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.0, 1.2.1
    • 1.3.0
    • webhdfs
    • None
    • Reviewed

    Description

      In branch-1 shouldRetry() in WebHDFSFileSystem always prints out the original exception when the retry policy decides not to retry.

      While informative, this behavior quickly fills out the log.

      The problem does not exist in branch-2 since shouldRetry() returns a enum, so that the upper layer can decide whether to print out the exception.

      In branch-1 the code should silent this warnings.

      Attachments

        1. HDFS-5245.000.patch
          1 kB
          Haohui Mai
        2. HDFS-5245.001.patch
          0.8 kB
          Haohui Mai

        Issue Links

          Activity

            People

              wheat9 Haohui Mai
              wheat9 Haohui Mai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: