Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6200 Create a separate jar for hdfs-client
  3. HDFS-9012

Move o.a.h.hdfs.protocol.datatransfer.PipelineAck class to hadoop-hdfs-client module

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • build
    • None
    • Reviewed

    Description

      The package org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck class is used in client module classes (e.g. DataStreamer$ResponseProcessor in DFSInputStream and DFSOutputStream). This jira tracks the effort of moving this class to hadoop-hdfs-client module.

      We should keep the static attribute OOB_TIMEOUT and helper method getOOBTimeout in the hadoop-hdfs module as they're not used (by now) in hadoop-hdfs-client module. Meanwhile, we don't create the HdfsConfiguration statically if we can pass the correct conf object.

      The checkstyle warnings can be addressed in HDFS-8979.

      Attachments

        1. HDFS-9012.002.patch
          7 kB
          Mingliang Liu
        2. HDFS-9012.001.patch
          6 kB
          Mingliang Liu
        3. HDFS-9012.000.patch
          6 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              liuml07 Mingliang Liu
              liuml07 Mingliang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: