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

Junping Du commented on HDFS-7694:
----------------------------------

bq. Is there compatibility concern for backporting this to 2.6 branch?
I don't think so, after checking the patch and from description above "This 
could be added to the existing APIs as an optional interface." [~cmccabe], what 
do you think?

> FSDataInputStream should support "unbuffer"
> -------------------------------------------
>
>                 Key: HDFS-7694
>                 URL: https://issues.apache.org/jira/browse/HDFS-7694
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.7.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7694.001.patch, HDFS-7694.002.patch, 
> HDFS-7694.003.patch, HDFS-7694.004.patch, HDFS-7694.005.patch
>
>
> For applications that have many open HDFS (or other Hadoop filesystem) files, 
> it would be useful to have an API to clear readahead buffers and sockets.  
> This could be added to the existing APIs as an optional interface, in much 
> the same way as we added setReadahead / setDropBehind / etc.



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

Reply via email to