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

Xiaoyu Yao commented on HDFS-8205:
----------------------------------

Thanks [~shihaoliang] for fixing this. The patch looks good to me.  I only have 
two NITs: 

1. Can you update the title (or description) of the bug about the root cause? 
"CommandFormat#parse() should not parse option as value of option". I will 
resolve HDFS-8184 as a dup of this one.

2. Can you format the code below with the appropriate amount of spaces (4).

{code}
 String withStorageTypeHeader =
337                 // <----13---> <-------17------>
338                 "   DISK_QUOTA    REM_DISK_QUOTA " +
339                         "    SSD_QUOTA     REM_SSD_QUOTA " +
340                         "ARCHIVE_QUOTA REM_ARCHIVE_QUOTA " +
341                         "PATHNAME";
342     
{code}

> fs -count -q -t -v -h displays wrong information
> ------------------------------------------------
>
>                 Key: HDFS-8205
>                 URL: https://issues.apache.org/jira/browse/HDFS-8205
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Peter Shi
>            Assignee: Peter Shi
>            Priority: Minor
>         Attachments: HDFS-8205.patch
>
>
> {code}./hadoop fs -count -q -t -h -v /
>        QUOTA       REM_QUOTA     SPACE_QUOTA REM_SPACE_QUOTA    DIR_COUNT   
> FILE_COUNT       CONTENT_SIZE PATHNAME
> 15/04/21 15:20:19 INFO hdfs.DFSClient: Sets 
> dfs.client.block.write.replace-datanode-on-failure.replication to 0
> 9223372036854775807 9223372036854775763            none             inf       
>     31           13               1230 /{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to