[ 
https://issues.apache.org/jira/browse/HADOOP-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hairong Kuang updated HADOOP-1192:
----------------------------------

    Attachment: du.patch

The checksum patch did not overwrite the method getContentLength in 
DistributedFileSystem. This leads to the use of the default slower version of 
getContentLength defined in FileSystem. This patch fixed the du problem. It 
also fixed the dus problem by declaring the totalSize to be long.

> Du command takes a noticable longer time to execute on a large dfs than the 
> 0.11 release
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1192
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1192
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.2
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.13.0
>
>         Attachments: du.patch
>
>
> After installing 0.12.2, we notice that the du command takes a much longer 
> time to execute than the previous release. Another problem is that dus prints 
> a negative value.

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