hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4917) fs -lsr does not align correctly when the username lengths are different
Date Thu, 26 Mar 2009 19:46:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689619#action_12689619
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4917:
------------------------------------------------

> Perhaps it would be better to bring lsr closer in line with Unix, separating each listed
directory with a header and allowing each directory to be justified relative to itself?

+1 We probably should deprecate lsr and add a "-R" option to ls.

> fs -lsr does not align correctly when the username lengths are different
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-4917
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4917
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Jakob Homan
>
> For example,
> {noformat}
> bash-3.2$ ./bin/hadoop fs -lsr /user
> drwx------   - nicholas supergroup          0 2008-12-18 15:17 /user/nicholas
> -rw-r--r--   3 nn_sze supergroup       1366 2008-12-18 15:17 /user/nicholas/a.txt
> drwx------   - tsz      supergroup          0 2008-11-25 15:55 /user/tsz
> -rw-------   3 tsz supergroup       1366 2008-11-25 15:53 /user/tsz/r.txt
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message