[
https://issues.apache.org/jira/browse/HADOOP-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600554#action_12600554
]
Mukund Madhugiri commented on HADOOP-3459:
------------------------------------------
The current output format (in trunk) is:
Replication Size Date Permissions Owner Group Size Name
Example:
1 196 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/commons-logging.properties
I have a patch that changes it to:
Permissions Replication Owner Group Size Date Name
Example:
-rw-r--r-- 1 hdfsuser supergroup 196 2008-05-22 19:59
/conf/commons-logging.properties
{noformat}
CURRENT:
1 196 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/commons-logging.properties
0 2008-05-22 19:59 drwxr-xr-x hdfsuser supergroup /conf/conf
0 2008-05-22 19:59 drwxr-xr-x hdfsuser supergroup /conf/conf2
0 2008-05-22 19:59 drwxr-xr-x hdfsuser supergroup /conf/conf3
1 535 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/configuration.xsl
1 38550 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/hadoop-default.xml
1 2237 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/hadoop-env.sh
1 1245 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/hadoop-metrics.properties
1 463 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/hadoop-site.xml
1 2724 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/log4j.properties
1 10 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/masters
1 10 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/slaves
1 401 2008-05-22 19:59 -rw-r--r-- hdfsuser supergroup
/conf/sslinfo.xml.example
AFTER PATCH:
-rw-r--r-- 1 hdfsuser supergroup 196 2008-05-22 19:59
/conf/commons-logging.properties
drwxr-xr-x - hdfsuser supergroup 0 2008-05-22 19:59
/conf/conf
drwxr-xr-x - hdfsuser supergroup 0 2008-05-22 19:59
/conf/conf2
drwxr-xr-x - hdfsuser supergroup 0 2008-05-22 19:59
/conf/conf3
-rw-r--r-- 1 hdfsuser supergroup 535 2008-05-22 19:59
/conf/configuration.xsl
-rw-r--r-- 1 hdfsuser supergroup 38550 2008-05-22 19:59
/conf/hadoop-default.xml
-rw-r--r-- 1 hdfsuser supergroup 2237 2008-05-22 19:59
/conf/hadoop-env.sh
-rw-r--r-- 1 hdfsuser supergroup 1245 2008-05-22 19:59
/conf/hadoop-metrics.properties
-rw-r--r-- 1 hdfsuser supergroup 463 2008-05-22 19:59
/conf/hadoop-site.xml
-rw-r--r-- 1 hdfsuser supergroup 2724 2008-05-22 19:59
/conf/log4j.properties
-rw-r--r-- 1 hdfsuser supergroup 10 2008-05-22 19:59
/conf/masters
-rw-r--r-- 1 hdfsuser supergroup 10 2008-05-22 19:59
/conf/slaves
-rw-r--r-- 1 hdfsuser supergroup 401 2008-05-22 19:59
/conf/sslinfo.xml.example
{noformat}
> Change dfs -ls listing to closely match format on Linux
> -------------------------------------------------------
>
> Key: HADOOP-3459
> URL: https://issues.apache.org/jira/browse/HADOOP-3459
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.18.0
> Reporter: Mukund Madhugiri
> Attachments: HADOOP-3459.patch
>
>
> Change the dfs -ls command output to closely match the output format on Linux
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.