Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2313510122 for ; Sun, 3 May 2015 13:20:07 +0000 (UTC) Received: (qmail 96901 invoked by uid 500); 3 May 2015 13:20:06 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 96855 invoked by uid 500); 3 May 2015 13:20:06 -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 96844 invoked by uid 99); 3 May 2015 13:20:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2015 13:20:06 +0000 Date: Sun, 3 May 2015 13:20:06 +0000 (UTC) From: "Hadoop QA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7290) Add HTTP response code to the HttpPutFailedException message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7290?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14525= 831#comment-14525831 ]=20 Hadoop QA commented on HDFS-7290: --------------------------------- \\ \\ | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 14m 33s | Pre-patch trunk compilation= is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain = any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to= include 1 new or modified test files. | | {color:green}+1{color} | javac | 7m 26s | There were no new javac warni= ng messages. | | {color:green}+1{color} | javadoc | 9m 34s | There were no new javadoc w= arning messages. | | {color:green}+1{color} | release audit | 0m 22s | The applied patch doe= s not increase the total number of release audit warnings. | | {color:green}+1{color} | checkstyle | 2m 12s | There were no new checks= tyle issues. | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines t= hat end in whitespace. | | {color:green}+1{color} | install | 1m 32s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 32s | The patch built wit= h eclipse:eclipse. | | {color:green}+1{color} | findbugs | 3m 2s | The patch does not introdu= ce any new Findbugs (version 2.0.3) warnings. | | {color:green}+1{color} | native | 3m 14s | Pre-build of native portion = | | {color:green}+1{color} | hdfs tests | 164m 53s | Tests passed in hadoop-h= dfs. | | | | 207m 24s | | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12677182/HDFS= -7290.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / a319771 | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build= /10742/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/10742/t= estReport/ | | Java | 1.7.0_55 | | uname | Linux asf905.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SM= P PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/10742= /console | This message was automatically generated. > Add HTTP response code to the HttpPutFailedException message > ------------------------------------------------------------ > > Key: HDFS-7290 > URL: https://issues.apache.org/jira/browse/HDFS-7290 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: 2.5.0 > Reporter: Harsh J > Assignee: Harsh J > Priority: Minor > Attachments: HDFS-7290.patch > > > If the TransferFsImage#uploadImageFromStorage(=E2=80=A6) call fails for s= ome reason, we try to print back the reason of the connection failure. > We currently only grab connection.getResponseMessage(=E2=80=A6) and use t= hat as our exception's lone string, but this can often be empty if there wa= s no real response message from the connection end. However, the failures a= lways have a code, so we should also ensure to print the error code returne= d, for at least a partial hint. -- This message was sent by Atlassian JIRA (v6.3.4#6332)