You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2015/03/16 18:43:40 UTC

[jira] [Resolved] (HDFS-4290) Expose an event listener interface in DFSOutputStreams for block write pipeline status changes

     [ https://issues.apache.org/jira/browse/HDFS-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J resolved HDFS-4290.
---------------------------
    Resolution: Later

Specific problems/use-cases driving this need haven't been bought up in the past years. Resolving as Later for now.

> Expose an event listener interface in DFSOutputStreams for block write pipeline status changes
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4290
>                 URL: https://issues.apache.org/jira/browse/HDFS-4290
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: hdfs-client
>    Affects Versions: 2.0.0-alpha
>            Reporter: Harsh J
>            Priority: Minor
>
> I've noticed HBase periodically polls the current status of block replicas for its HLog files via the API presented by HDFS-826.
> It would perhaps be better for such clients if they could register a listener instead. The listener(s) can be sent an event in case things change in the last open block (due to DN fall but no replacement found, etc. cases). This would avoid having a periodic, parallel looped check in such clients and be more efficient.
> Just a thought :)



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