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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.21.0
    • fuse-dfs
    • None
    • Reviewed
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: