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

Code clean up for LocatedBlock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      We can do some code cleanup for LocatedBlock, including:

      1. Using a simple Builder pattern to avoid multiple constructors
      2. Setting data fields like corrupt and offset to final

      Attachments

        1. HDFS-7829.4.patch
          8 kB
          Takanobu Asanuma
        2. HDFS-7829.3.patch
          38 kB
          Takanobu Asanuma
        3. HDFS-7829.2.patch
          35 kB
          Takanobu Asanuma
        4. HDFS-7829.1.patch
          3 kB
          Takanobu Asanuma

        Activity

          People

            tasanuma Takanobu Asanuma
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: