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

Misleading error message when S3 URI contains hostname containing an underscore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • fs/s3
    • None
    • Reviewed

    Description

      As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore).

      Attachments

        1. hadoop-3301.patch
          2 kB
          Thomas White

        Activity

          People

            tomwhite Thomas White
            tomwhite Thomas White
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: