[
https://issues.apache.org/jira/browse/HADOOP-10247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13879309#comment-13879309
]
Andrew Wang commented on HADOOP-10247:
--------------------------------------
Yea, I agree with your analysis Chris. I think this is why (at least on my
machine) {{ls -lR}} prints directory-by-directory, so it can align one
directory at a time. I guess we could change it to the per-dir format, but
that's probably incompatible, and we'd need a little more effort yet if the
shell is using the batched listing API.
> FsShell -ls -R output misaligned if child path has longer string
> representation than parent.
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-10247
> URL: https://issues.apache.org/jira/browse/HADOOP-10247
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.2.0
> Reporter: Chris Nauroth
> Priority: Minor
>
> When running a recursive ls, like {{hdfs dfs -ls -R /}}, the column
> formatting becomes misaligned if there is a child path with a longer string
> representation (such as caused by a longer username) compared to its parent.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)