[
https://issues.apache.org/jira/browse/HDFS-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-5173:
---------------------------------------
Description: We can make the output of {{-listCachePools}} prettier by
doing the same kinds of things as {{ls -l}} does. We probably need to find (or
write) some code to properly line up columns to avoid ragged-looking output.
Finally, column headers will be necessary here to let people know what they're
looking at. Ideally, we'd implement a format-string type argument like
{{--format=}} for ls. (was: We can make the output of -listCachePools prettier
by doing the same kinds of things as ls -l does. We probably need to find (or
write) some code to properly line up columns to avoid ragged-looking output.
Finally, column headers will be necessary here to let people know what they're
looking at. Ideally, we'd implement a format-string type argument like
{{--format=}} for ls.)
> prettier dfsadmin -listCachePools output
> ----------------------------------------
>
> Key: HDFS-5173
> URL: https://issues.apache.org/jira/browse/HDFS-5173
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Affects Versions: HDFS-4949
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Priority: Minor
>
> We can make the output of {{-listCachePools}} prettier by doing the same
> kinds of things as {{ls -l}} does. We probably need to find (or write) some
> code to properly line up columns to avoid ragged-looking output. Finally,
> column headers will be necessary here to let people know what they're looking
> at. Ideally, we'd implement a format-string type argument like {{--format=}}
> for ls.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira