hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1383) Better error messages on hftp
Date Wed, 08 Sep 2010 00:09:35 GMT
Better error messages on hftp 
------------------------------

                 Key: HDFS-1383
                 URL: https://issues.apache.org/jira/browse/HDFS-1383
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Tsz Wo (Nicholas), SZE
            Assignee: Tsz Wo (Nicholas), SZE


If the file is not accessible, HftpFileSystem returns only a HTTP response code.
{noformat}
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)
        ...
 {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message