[
https://issues.apache.org/jira/browse/HDFS-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Bockelman updated HDFS-857:
---------------------------------
Attachment: HDFS-857.patch
This patch fixes the issue by using tOffset instead of long.
> Incorrect type for fuse-dfs capacity can cause "df" to return negative values
> on 32-bit machines
> ------------------------------------------------------------------------------------------------
>
> Key: HDFS-857
> URL: https://issues.apache.org/jira/browse/HDFS-857
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: contrib/fuse-dfs
> Reporter: Brian Bockelman
> Priority: Minor
> Attachments: HDFS-857.patch
>
>
> On sufficiently large HDFS installs, the casting of hdfsGetCapacity to a long
> may cause "df" to return negative values. tOffset should be used instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.