[
https://issues.apache.org/jira/browse/HDFS-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799573#action_12799573
]
Eli Collins commented on HDFS-857:
----------------------------------
test-c++-libhdfs doesn't cover fuse so actually it shouldn't fail, TestFuseDFS
would cover this though it's not currently running (HDFS-780). I tried this
patch locally and it worked.
> 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.