[
https://issues.apache.org/jira/browse/HADOOP-8944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HADOOP-8944:
-------------------------------
Comment: was deleted
(was: Like the other count jira, this would be great to have in 2.x. I know we
have various SE and customer monitoring scripts that depend on this command, so
I'd rather not have the headers by default so we don't have to hunt down
everyone using the command.
I think the header field names in count's former help message are probably a
better choice than the new ones in this patch. I don't mind the upper/lower
case so much as fields that contain spaces. I often like to write utilities
that split a header and use them as map keys. Spaces in the header fields
thwarts that.
I'd suggest using a single letter for the header option (maybe v(erbose)) to be
inline with the other commands. Otherwise it will thwart the "one of these
days" feature of allowing option bundling. Multi-char options are better
implemented as "--opt".)
> Shell command fs -count should include human readable option
> ------------------------------------------------------------
>
> Key: HADOOP-8944
> URL: https://issues.apache.org/jira/browse/HADOOP-8944
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Jonathan Allen
> Assignee: Allen Wittenauer
> Priority: Trivial
> Labels: incompatible, newbie
> Fix For: 3.0.0, 2.6.0
>
> Attachments: HADOOP-8944-1.patch, HADOOP-8944-2.patch,
> HADOOP-8944-3.patch, HADOOP-8944-4.patch, HADOOP-8944.patch
>
>
> The shell command fs -count report sizes in bytes. The command should accept
> a -h option to display the sizes in a human readable format, i.e. K, M, G,
> etc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)