[
https://issues.apache.org/jira/browse/HDFS-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhe Zhang updated HDFS-7888:
----------------------------
Attachment: HDFS-7888-trunk-002.patch
Thanks Bo for the trunk patch!
After reading it again I realized we can further shrink the change by keeping
the {{streamer}} variable. In {{DFSStripedOutputStream}} we can update the
value of {{streamer}} when we switch to the next streamer. I'm attaching a
smaller patch with just steps #1 and #3 in the [summary |
https://issues.apache.org/jira/browse/HDFS-7888?focusedCommentId=14387979&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14387979].
{{TestDatanodeManager}} is unrelated and passes locally.
> 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-7888-trunk-001.patch,
> HDFS-7888-trunk-002.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)