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

BlockUnderConstructionFeature.truncateBlock should be of type BlockInfo

    Details

    • Hadoop Flags:
      Reviewed

      Description

      BlockUnderConstructionFeature.truncateBlock type should be changed to BlockInfo from Block. truncateBlock is always assigned as BlockInfo, so this will avoid unnecessary casts.

        Attachments

        1. HDFS-12884.003.patch
          6 kB
          chencan
        2. HDFS-12884.002.patch
          6 kB
          chencan
        3. HDFS-12884.001.patch
          6 kB
          chencan

          Issue Links

            Activity

              People

              • Assignee:
                candychencan chencan
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: