You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/02/09 17:38:19 UTC

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

Ted Yu created HADOOP-10331:
-------------------------------

             Summary: 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.1.5#6160)

Re: [jira] [Created] (HADOOP-10331) SwiftRestClient#buildException() references wrong length

Posted by Steve Loughran <st...@hortonworks.com>.
heh, that's my code

On 9 February 2014 08:38, Ted Yu (JIRA) <ji...@apache.org> wrote:

> https://issues.apache.org/jira/browse/HADOOP-10331

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.