[
https://issues.apache.org/jira/browse/HDFS-11572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969578#comment-15969578
]
Uma Maheswara Rao G edited comment on HDFS-11572 at 4/15/17 7:15 AM:
---------------------------------------------------------------------
I took a chance to fix couple of issues in this patch.
Handled to clean Xattrs in the following cases.
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 file contains no blocks, we missed to clean Xattrs.
And to make changes easy and readable, I made the block analysis result to
represent with states instead of boolean true or false flag.
was (Author: umamaheswararao):
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: [email protected]
For additional commands, e-mail: [email protected]