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

Eli Collins commented on HDFS-3671:
-----------------------------------

Since HDFS-3577 is not removing the Content-Length header check we need to fix 
this here, otherwise we still can't distcp from the 20.x (ie pre-203) releases, 
which we don't want to break since that prevents users from migrating to new 
releases.

Daryn, I like your idea of doing the file stat if the length is not present, 
want to post a patch for that?
                
> ByteRangeInputStream shouldn't require the content length header be present
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-3671
>                 URL: https://issues.apache.org/jira/browse/HDFS-3671
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Priority: Blocker
>         Attachments: h3671_20120717.patch
>
>
> Per HDFS-3318 the content length header check breaks distcp compatibility 
> with previous releases (0.20.2 and earlier, and 0.21). Like branch-1 this 
> check should be lenient.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to