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

Surendra Singh Lilhore commented on HADOOP-16077:
-------------------------------------------------

Thanks [~ayushtkn] for patch.

Some comments
 1. Please correct the document.
{code:java}
-Usage: `hadoop fs -count [-q] [-h] [-v] [-x] [-t [<storage type>]] [-u] [-e] 
<paths> `
+Usage: `hadoop fs -count [-q] [-h] [-v] [-x] [-t [<storage type>]] [-u] [-e] 
[-sp] <paths> `
{code}
 2. No need to hardcode policy length , get the policy list and find the max 
length.
{code:java}
+    if (displaySPolicy) {
+      int maxSpolicy = 12;
+      fmt.append("%-" + maxSpolicy + "s ");
+    }{code}

> Add an option in ls command to include storage policy
> -----------------------------------------------------
>
>                 Key: HADOOP-16077
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16077
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HADOOP-16077-01.patch, HADOOP-16077-02.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to