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

Uma Maheswara Rao G updated HDFS-11572:
---------------------------------------
    Attachment: HDFS-11572-HDFS-10285-00.patch

I took chance couple issues in this patch.
1. When none of the blocks really need any movements. Example of file already 
well satisfied the storages, user still called to satisfy blocks. In this case 
we missed to clean Xattrs. This patch addresses that.
2. When contains no blocks, we missed to clean matters. Tin patch addresses.
3. To make changes easy and readable, made the block analysis result represents 
with states instead of boolean true or false flags.


> [SPS]: SPS should clean Xattrs when no blocks required to satisfy for a file
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-11572
>                 URL: https://issues.apache.org/jira/browse/HDFS-11572
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: HDFS-10285
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>         Attachments: HDFS-11572-HDFS-10285-00.patch
>
>
> When user calls on a file to satisfy storage policy, but that file already 
> well satisfied. This time, SPS will just scan and make sure no blocks needs 
> to satisfy and will leave that element. In this case, we are not cleaning 
> Xattrs. This is the JIRA to make sure we will clean Xattrs in this situation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to