[
https://issues.apache.org/jira/browse/HDFS-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387979#comment-14387979
]
Li Bo commented on HDFS-7888:
-----------------------------
About patch 001 :
1. Change some fields and methods from private to protected
2. streamer field used to be accessed directly; now added a getter getStreamer()
3. Refactor: separate out 2 methods in writeChunkImpl: adjustChunkBoundary and
encounterBlockBoundary
Please note this patch is generated based on 7285 branch.
> Change DataStreamer/DFSOutputStream/DFSPacket for convenience of subclassing
> ----------------------------------------------------------------------------
>
> Key: HDFS-7888
> URL: https://issues.apache.org/jira/browse/HDFS-7888
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Li Bo
> Assignee: Li Bo
> Attachments: HDFS-7888-001.patch
>
>
> HDFS-7793 refactors class {{DFSOutputStream}} on trunk which makes
> {{DFSOutputStream}} a class without any inner classes. We want to subclass
> {{DFSOutputStream}} to support striping layout writing. This JIRA depends
> upon HDFS-7793 and tries to change DataStreamer/DFSOutputStream/DFSPacket for
> convenience of subclassing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)