Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.1.patch
          3 kB
          Takanobu Asanuma
        2. HDFS-7829.2.patch
          35 kB
          Takanobu Asanuma
        3. HDFS-7829.3.patch
          38 kB
          Takanobu Asanuma
        4. HDFS-7829.4.patch
          8 kB
          Takanobu Asanuma

          Activity

            People

            • Assignee:
              tasanuma0829 Takanobu Asanuma
              Reporter:
              jingzhao Jing Zhao
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: