You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "denny joseph (JIRA)" <ji...@apache.org> on 2014/09/28 07:49:34 UTC

[jira] [Commented] (HADOOP-10331) SwiftRestClient#buildException() references wrong length

    [ https://issues.apache.org/jira/browse/HADOOP-10331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150982#comment-14150982 ] 

denny joseph commented on HADOOP-10331:
---------------------------------------

this bug is duplicate of HADOOP-10296

> SwiftRestClient#buildException() references wrong length
> --------------------------------------------------------
>
>                 Key: HADOOP-10331
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10331
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>         Header availableContentRange = method.getResponseHeader(
>           HEADER_CONTENT_RANGE);
>         if (requestContentLen!=null) {
>           errorText.append(" available ").append(availableContentRange.getValue());
>         }
> {code}
> availableContentRange should be checked instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)