hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4290) Expose an event listener interface in DFSOutputStreams for block write pipeline status changes
Date Fri, 07 Dec 2012 23:47:21 GMT
Harsh J created HDFS-4290:
-----------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message