[ https://issues.apache.org/jira/browse/HADOOP-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486137 ]
Raghu Angadi commented on HADOOP-1192: -------------------------------------- +1 Code looks fine. While reviewing this I noticed that FsShell.dus() seem to be doing one level recursion into the paths it wants to du. I would have thought we either need not recurse at all or to recurse recurse fully. This patch does not change this logic. Hairong is taking a look at this. If there is some issue here (either correctness or just code efficiency), that could be a different jira. > 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.