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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: io, security
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: