hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8465) Mover is success even when space exceeds storage quota.
Date Fri, 22 May 2015 14:43:17 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HDFS-8465:
-----------------------------
    Affects Version/s: 2.7.0

> Mover is success even when space exceeds storage quota.
> -------------------------------------------------------
>
>                 Key: HDFS-8465
>                 URL: https://issues.apache.org/jira/browse/HDFS-8465
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer & mover, namenode
>    Affects Versions: 2.7.0
>            Reporter: Archana T
>            Assignee: surendra singh lilhore
>
> *Steps :*
> 1. Create directory /dir 
> 2. Set its storage policy to HOT --
> hdfs storagepolicies -setStoragePolicy -path /dir -policy HOT
> 3. Insert files of total size 10,000B  into /dir.
> 4. Set above path "/dir" ARCHIVE type quota to 5,000B --
> hdfs dfsadmin -setSpaceQuota 5000 -storageType ARCHIVE /dir
> {code}
> hdfs dfs -count -v -q -h -t  /dir
>    DISK_QUOTA    REM_DISK_QUOTA     SSD_QUOTA     REM_SSD_QUOTA ARCHIVE_QUOTA REM_ARCHIVE_QUOTA
PATHNAME
>          none               inf          none               inf         4.9 K       
     4.9 K /dir
> {code}
> 5. Now change policy of '/dir' to COLD
> 6. Execute Mover command
> *Observations:*
> 1. Mover is successful moving all 10,000B to ARCHIVE datapath.
> 2. Count command displays negative value '-59.4K'--
> {code}
> hdfs dfs -count -v -q -h -t  /dir
>    DISK_QUOTA    REM_DISK_QUOTA     SSD_QUOTA     REM_SSD_QUOTA ARCHIVE_QUOTA REM_ARCHIVE_QUOTA
PATHNAME
>          none               inf          none               inf         4.9 K       
   -59.4 K /dir
> {code}
> *Expected:*
> Mover should not be successful as ARCHIVE quota is only 5,000B.
> Negative value should not be displayed for quota output.



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

Mime
View raw message