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

Yuanbo Liu updated HDFS-10905:
------------------------------
    Attachment: HDFS-10905.002.patch

uploaded v2 patch to address check style failure. Since it's a code refactoring 
 issue, I didn't write any test case.

> Refactor DataStreamer#createBlockOutputStream
> ---------------------------------------------
>
>                 Key: HDFS-10905
>                 URL: https://issues.apache.org/jira/browse/HDFS-10905
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.8.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yuanbo Liu
>            Priority: Minor
>         Attachments: HDFS-10905.001.patch, HDFS-10905.002.patch
>
>
> DataStreamer#createBlockOutputStream and DataStreamer#transfer shared much 
> boilerplate code. HDFS-10609 refactored the transfer method into a 
> StreamerStreams class. The createBlockOutputStream method should reuse the 
> class to de-dup code and to improve code clarity.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to