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

Make DFSOuputSteram$Packet default constructor reuse the other constructor

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.6.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The default constructor of DFSOuputSteram$Packet can be made more clear by reusing the other constructor. Also, two members of DFSOuputSteram$Packet (offsetInBlock and maxChunks) can be declared as final.

        Attachments

        1. HDFS-3851.patch
          10 kB
          Jing Zhao
        2. HDFS-3851.patch
          2 kB
          Jing Zhao

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              jingzhao Jing Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: