You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Archana T (JIRA)" <ji...@apache.org> on 2015/06/18 11:41:01 UTC
[jira] [Created] (HDFS-8625) count with -h option displays
namespace quota in human readable format
Archana T created HDFS-8625:
-------------------------------
Summary: count with -h option displays namespace quota in human readable format
Key: HDFS-8625
URL: https://issues.apache.org/jira/browse/HDFS-8625
Project: Hadoop HDFS
Issue Type: Bug
Components: hdfs-client
Reporter: Archana T
Assignee: surendra singh lilhore
When 'count' command is executed with '-h' option , namespace quota is displayed in human readable format --
Example :
hdfs dfsadmin -setQuota {color:red}1048576{color} /test
hdfs dfs -count -q -h -v /test
{color:red}QUOTA REM_QUOTA{color} SPACE_QUOTA REM_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE PATHNAME
{color:red}1 M 1.0 M{color} none inf 1 0 0 /test
QUOTA and REM_QUOTA shows 1 M (human readable format) which actually should give count value 1048576
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)