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 Bug
    • Status: Closed
    • Priority: Minor 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.

      1. HDFS-857.patch
        0.5 kB
        Brian Bockelman

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development