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

Better error messages on hftp

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • None
    • Reviewed

    Description

      If the file is not accessible, HftpFileSystem returns only a HTTP response code.

      2010-08-27 20:57:48,091 INFO org.apache.hadoop.tools.DistCp: FAIL README.txt : java.io.IOException:
       Server returned HTTP response code: 400 for URL: http:/namenode:50070/data/user/tsz/README.txt?ugi=tsz,users
              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290)
              at org.apache.hadoop.hdfs.HftpFileSystem.open(HftpFileSystem.java:143)
              at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:356)
              ...
       

      Attachments

        1. h1383_20100913_y20.patch
          4 kB
          Tsz-wo Sze
        2. h1383_20100915_y20.patch
          18 kB
          Tsz-wo Sze
        3. h1383_20100915b_y20.patch
          18 kB
          Tsz-wo Sze
        4. h1383_20100915b.patch
          18 kB
          Tsz-wo Sze

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment