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

Hadoop QA commented on HDFS-7701:
---------------------------------

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

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

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

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

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.
        See 
https://builds.apache.org/job/PreCommit-HDFS-Build/10086//artifact/patchprocess/diffJavadocWarnings.txt
 for details.

    {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:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

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

This message is automatically generated.

> Support reporting per storage type quota and usage with hadoop/hdfs shell
> -------------------------------------------------------------------------
>
>                 Key: HDFS-7701
>                 URL: https://issues.apache.org/jira/browse/HDFS-7701
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Xiaoyu Yao
>            Assignee: Peter Shi
>         Attachments: HDFS-7701.01.patch, HDFS-7701.02.patch
>
>
> "hadoop fs -count -q" or "hdfs dfs -count -q" currently shows name space/disk 
> space quota and remaining quota information. With HDFS-7584, we want to 
> display per storage type quota and its remaining information as well.
> The current output format as shown below may not easily accomodate 6 more 
> columns = 3 (existing storage types) * 2 (quota/remaining quota). With new 
> storage types added in future, this will make the output even more crowded. 
> There are also compatibility issues as we don't want to break any existing 
> scripts monitoring hadoop fs -count -q output. 
> $ hadoop fs -count -q -v /test
>        QUOTA       REM_QUOTA     SPACE_QUOTA REM_SPACE_QUOTA    DIR_COUNT   
> FILE_COUNT       CONTENT_SIZE PATHNAME
>         none             inf       524288000       524266569            1     
>       15              21431 /test
> Propose to add -t parameter to display ONLY the storage type quota 
> information of the directory in the separately. This way, existing scripts 
> will work as-is without using -t parameter. 
> 1) When -t is not followed by a specific storage type, quota and usage 
> information for all storage types will be displayed. 
> $ hadoop fs -count -q  -t -h -v /test
>        SSD_QUOTA       REM_SSD_QUOTA     DISK_QUOTA REM_DISK_QUOTA 
> ARCHIVAL_QUOTA REM_ARCHIVAL_QUOTA PATHNAME
>         512MB             256MB       none             inf         none      
> inf            /test
> 2) If -t is followed by a storage type, only the quota and remaining quota of 
> the storage type is displayed. 
> $ hadoop fs -count -q  -t SSD -h -v /test
>  
> SSD_QUOTA REM_SSD_QUOTA PATHNAME
> 512 MB             256 MB                   /test



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

Reply via email to