Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12906

AuthenticatedURL should convert a 404/Not Found into an FileNotFoundException.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha1
    • io, security
    • None
    • Reviewed

    Description

      If you ask for a URL that isn't there, AuthenticatedURL raises an exception saying you are unauthed.

      It's not checking the response code; 404 is an error all of its own, which can be uprated as a FileNotFound Exception.

      Attachments

        1. HADOOP-12906-001.patch
          1 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: