[ 
https://issues.apache.org/jira/browse/HDFS-7290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDFS-7290:
----------------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

This is a dup of HDFS-7785. So close it.

> 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
>              Labels: BB2015-05-TBR
>         Attachments: HDFS-7290.patch
>
>
> If the TransferFsImage#uploadImageFromStorage(…) call fails for some reason, 
> we try to print back the reason of the connection failure.
> We currently only grab connection.getResponseMessage(…) and use that as our 
> exception's lone string, but this can often be empty if there was no real 
> response message from the connection end. However, the failures always have a 
> code, so we should also ensure to print the error code returned, for at least 
> a partial hint.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to