You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/03/26 20:46:50 UTC

[jira] Commented: (HADOOP-4917) fs -lsr does not align correctly when the username lengths are different

    [ 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.