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

Make DFSOuputSteram$Packet default constructor reuse the other constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.6.0
    • hdfs-client
    • None
    • 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
          2 kB
          Jing Zhao
        2. HDFS-3851.patch
          10 kB
          Jing Zhao

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: