Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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) ...