[ https://issues.apache.org/jira/browse/HADOOP-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HADOOP-4861: -------------------------------- Attachment: hadoop-4861.txt This patch adds a -h flag to dfs -du and dfs -dus It also refactors the two du functions to use the same code path and makes -du -s be synonymous with -dus One breaking change is that the output format is now consistent between du and du -s, and it matches the Linux format (size on left, path on right). This may cause incompatibility with users who might parse the output of du, but I think it's worth it for consistency > Add disk usage with human-readable size (-duh) > ---------------------------------------------- > > Key: HADOOP-4861 > URL: https://issues.apache.org/jira/browse/HADOOP-4861 > Project: Hadoop Core > Issue Type: New Feature > Reporter: Bryan Duxbury > Priority: Trivial > Attachments: hadoop-4861.txt > > > I think it'd be super useful to have a form of "hadoop dfs -du" that showed > the sizes in human-readable format, as in the standard command "du -h". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.