hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10331) SwiftRestClient#buildException() references wrong length
Date Sun, 09 Feb 2014 16:38:19 GMT
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)

Mime
View raw message