Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-914

Refactor DFSOutputStream and DFSInputStream out of DFSClient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.22.0
    • None
    • hdfs-client
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. hdfs-914.txt
          218 kB
          Todd Lipcon
        2. hdfs-914.txt
          220 kB
          Todd Lipcon
        3. hdfs-914.txt
          223 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: