You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "rickboker (Jira)" <ji...@apache.org> on 2022/12/01 08:02:00 UTC
[jira] [Updated] (HDFS-16857) It could be negative count, when set quota in first time.
[ https://issues.apache.org/jira/browse/HDFS-16857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
rickboker updated HDFS-16857:
-----------------------------
Description:
First create a directory,And put 5GB files in directory.
*hdfs dfs -du -h -s /test*
*5.0 G 15.0 G /test*
Second we set quota with 1GB.
Then we check the quota, it will be a negative number.
*hdfs dfs -count -q -v -h /test*
*QUOTA REM_QUOTA SPACE_QUOTA REM_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE PATHNAME*
*none inf 1 G -14.0 G 19 31 5.0 G /test*
was:
First create a directory,And put 5GB files in directory.
_*hdfs dfs -du -h -s /test*_
_*5.0 G 15.0 G /test*_
Second we set quota with 1GB.
Then we check the quota, it will be a negative number.
_*hdfs dfs -count -q -v -h /test*_
_*QUOTA REM_QUOTA SPACE_QUOTA REM_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE PATHNAME*_
_*none inf 1 G -14.0 G 19 31 5.0 G /test*_
> It could be negative count, when set quota in first time.
> ---------------------------------------------------------
>
> Key: HDFS-16857
> URL: https://issues.apache.org/jira/browse/HDFS-16857
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: metrics, namenode
> Affects Versions: 3.1.1, 3.3.1
> Reporter: rickboker
> Priority: Major
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> First create a directory,And put 5GB files in directory.
> *hdfs dfs -du -h -s /test*
> *5.0 G 15.0 G /test*
> Second we set quota with 1GB.
> Then we check the quota, it will be a negative number.
> *hdfs dfs -count -q -v -h /test*
> *QUOTA REM_QUOTA SPACE_QUOTA REM_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE PATHNAME*
> *none inf 1 G -14.0 G 19 31 5.0 G /test*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org