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

Todd Lipcon updated HDFS-914:
-----------------------------

    Attachment: hdfs-914.txt

Here's a patch which refactors DFSInputStream, DFSOutputStream, and BlockReader 
out of DFSClient. I didn't make anything factory-ified - it's just a straight 
eclipse refactor plus a bit of cleanup/addition of accessors.

There could probably be a bit more cleanup later, but as is this is an 
improvement in my opinion.

> Refactor DFSOutputStream and DFSInputStream out of DFSClient
> ------------------------------------------------------------
>
>                 Key: HDFS-914
>                 URL: https://issues.apache.org/jira/browse/HDFS-914
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>         Attachments: hdfs-914.txt
>
>
> I'd like to propose refactoring DFSClient to extract DFSOutputStream and 
> DFSInputStream into a new org.apache.hadoop.hdfs.client package. DFSClient 
> has become unmanageably large, containing 8 inner classes.and approaching 
> 4kloc. Factoring out the non-static inner classes will also make them easier 
> to test in isolation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to