hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2865) FsShell.ls() should print file attributes first then the path name.
Date Tue, 15 Apr 2008 04:21:05 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HADOOP-2865:
-----------------------------------

    Attachment: 2865_v02.patch

This v02.patch include the AutoFit (by using in-memory) as describe below.
{code}
[root@udanax hadoop]# bin/hadoop dfs -du
Found 2 items
11358  hdfs://localhost:9000/user/root/LICENSE.txt
1366   hdfs://localhost:9000/user/root/udanax
[root@udanax hadoop]# bin/hadoop dfs -ls
Found 2 items
1  11358  2008-04-15 10:53  -rw-r--r--  udanax  supergroup  /user/root/LICENSE.txt
   0      2008-04-15 12:54  drwxr-xr-x  root    supergroup  /user/root/udanax
[root@udanax hadoop]# 
{code}

BTW, what does Incompatible change" mean? and What should i do?


> FsShell.ls() should print file attributes first then the path name.
> -------------------------------------------------------------------
>
>                 Key: HADOOP-2865
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2865
>             Project: Hadoop Core
>          Issue Type: Improvement
>    Affects Versions: 0.15.0
>            Reporter: Konstantin Shvachko
>            Assignee: Edward J. Yoon
>             Fix For: 0.18.0
>
>         Attachments: 2865_v01.patch, 2865_v02.patch
>
>
> When we had a handful of attributes this looked OK. But after the permissions the ls
output is just unreadable.
> This how the output looks now:
> {code}
> /CHANGES.txt    <r 2>   174779  2008-01-29 10:00        rw-r--r--       shv   
 supergroup
> /LICENSE.txt    <r 2>   11358   2008-01-28 17:27        rw-r--r--       shv   
 supergroup
> /NOTICE.txt     <r 2>   101     2008-01-29 12:06        rw-r--r--       shv   
 supergroup
> /Work   <dir>           2008-01-23 17:43        rwxr-xr-x       shv     supergroup
> /Work/hadoop-data       <dir>           2008-01-23 17:43        rwxr-xr-x     
 shv     supergroup
> {code}
> This is how it should look:
> {code}
> 2   174779  2008-01-29 10:00       -rw-r--r--       shv     supergroup     /CHANGES.txt
> 2   11358   2008-01-28 17:27       -rw-r--r--       shv     supergroup     /LICENSE.txt
> 2   101     2008-01-29 12:06       -rw-r--r--       shv     supergroup     /NOTICE.txt
>             2008-01-23 17:43       drwxr-xr-x       shv     supergroup     /Work
>             2008-01-23 17:43       drwxr-xr-x       shv     supergroup     /Work/hadoop-data
> {code}

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