Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 69602 invoked from network); 16 Sep 2010 01:38:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Sep 2010 01:38:55 -0000 Received: (qmail 44170 invoked by uid 500); 16 Sep 2010 01:38:55 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 44075 invoked by uid 500); 16 Sep 2010 01:38:55 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 44067 invoked by uid 99); 16 Sep 2010 01:38:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 01:38:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 01:38:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8G1cXJd014571 for ; Thu, 16 Sep 2010 01:38:34 GMT Message-ID: <26608426.218241284601113767.JavaMail.jira@thor> Date: Wed, 15 Sep 2010 21:38:33 -0400 (EDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1383) Better error messages on hftp In-Reply-To: <10024037.67261283904575472.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909987#action_12909987 ] Tsz Wo (Nicholas), SZE commented on HDFS-1383: ---------------------------------------------- ant test-patch {noformat} [exec] +1 overall. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 17 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 system tests framework. The patch passed system tests framework compile. {noformat} > 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 > Fix For: 0.22.0 > > Attachments: h1383_20100913_y20.patch, h1383_20100915_y20.patch, h1383_20100915b.patch, h1383_20100915b_y20.patch > > > 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.