[ 
https://issues.apache.org/jira/browse/HDFS-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799541#action_12799541
 ] 

Eli Collins commented on HDFS-857:
----------------------------------

+1 Patch looks good. Also passes test-c++-libhdfs. 

> 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.

Reply via email to