hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7694) FSDataInputStream should support "unbuffer"
Date Tue, 26 Jan 2016 03:50:39 GMT

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

Colin Patrick McCabe commented on HDFS-7694:
--------------------------------------------

Hi, [~djp].  This change is compatible, since people are not expected to be subclassing {{FSDataInputStream}}.
 So it seems fine to backport to 2.6, if the maintainers of that branch think it will be useful
there.

> 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)

Mime
View raw message