[jira] [Commented] (HDFS-8205) fs -count -q -t -v -h displays wrong information

2015-04-24 Thread Xiaoyu Yao (JIRA)

[ 
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_QUOTAREM_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_QUOTADIR_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 9223372036854775763none inf   
> 31   13   1230 /{code}



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


[jira] [Commented] (HDFS-8205) fs -count -q -t -v -h displays wrong information

2015-04-21 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HDFS-8205:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12726825/HDFS-8205.patch
  against trunk revision d52de61.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The following test timeouts occurred in 
hadoop-common-project/hadoop-common:

org.apache.hadoop.crypto.key.TestValueQueue

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/10332//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HDFS-Build/10332//console

This message is automatically generated.

> 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_QUOTADIR_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 9223372036854775763none inf   
> 31   13   1230 /{code}



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


[jira] [Commented] (HDFS-8205) fs -count -q -t -v -h displays wrong information

2015-04-21 Thread Peter Shi (JIRA)

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

Peter Shi commented on HDFS-8205:
-

This bug is introduced by HDFS-7701, i will attach patch to fix it.

> 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
>Priority: Minor
>
> {code}./hadoop fs -count -q -t -h -v /
>QUOTA   REM_QUOTA SPACE_QUOTA REM_SPACE_QUOTADIR_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 9223372036854775763none inf   
> 31   13   1230 /{code}



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