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

Segment overflow in FileDistributionCalculator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha3
    • 2.9.0, 3.0.0-alpha4
    • tools
    • Reviewed
    • Patch

    Description

      When run hdfs oiv command to analyse a fsimage file with FileDistribution processor,
      the range segment of file size get overflowed:

      (1.98 GB, 1.98 GB] 2
      (1.98 GB, 1.99 GB] 4
      (1.99 GB, -2 GB] 7
      (2 GB, -1.99 GB] 7
      (2.02 GB, -1.98 GB] 2
      (2.02 GB, -1.97 GB] 9
      (2.03 GB, -1.96 GB] 5
      (2.04 GB, -1.95 GB] 11
      (2.05 GB, -1.95 GB] 4

      this patch fixs this problem.

      Attachments

        1. HDFS-11928.patch
          1 kB
          LiXin Ge

        Activity

          People

            GeLiXin LiXin Ge
            GeLiXin LiXin Ge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: