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

Refactor DataStreamer#createBlockOutputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.8.0
    • None
    • hdfs-client
    • None

    Description

      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.

      Attachments

        1. HDFS-10905.001.patch
          8 kB
          Yuanbo Liu
        2. HDFS-10905.002.patch
          8 kB
          Yuanbo Liu

        Activity

          People

            yuanbo Yuanbo Liu
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: