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

Incorrect type for fuse-dfs capacity can cause "df" to return negative values on 32-bit machines

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: fuse-dfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      fuse-dfs df hdfsGetCapacity

      Description

      On sufficiently large HDFS installs, the casting of hdfsGetCapacity to a long may cause "df" to return negative values. tOffset should be used instead.

        Attachments

        1. HDFS-857.patch
          0.5 kB
          Brian Bockelman

          Activity

            People

            • Assignee:
              bockelman Brian Bockelman
              Reporter:
              bockelman Brian Bockelman
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: