[jira] [Updated] (HDFS-11572) [SPS]: SPS should clean Xattrs when no blocks required to satisfy for a file

2018-08-12 Thread Rakesh R (JIRA)


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

Rakesh R updated HDFS-11572:

Fix Version/s: 3.2.0

> [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
>Priority: Major
> Fix For: HDFS-10285, 3.2.0
>
> Attachments: HDFS-11572-HDFS-10285-00.patch, 
> HDFS-11572-HDFS-10285-01.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
(v7.6.3#76005)

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



[jira] [Updated] (HDFS-11572) [SPS]: SPS should clean Xattrs when no blocks required to satisfy for a file

2017-04-20 Thread Rakesh R (JIRA)

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

Rakesh R updated HDFS-11572:

   Resolution: Fixed
Fix Version/s: HDFS-10285
   Status: Resolved  (was: Patch Available)

Thanks [~umamaheswararao], committed to branch.

> [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
> Fix For: HDFS-10285
>
> Attachments: HDFS-11572-HDFS-10285-00.patch, 
> HDFS-11572-HDFS-10285-01.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



[jira] [Updated] (HDFS-11572) [SPS]: SPS should clean Xattrs when no blocks required to satisfy for a file

2017-04-20 Thread Uma Maheswara Rao G (JIRA)

 [ 
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-01.patch

Attached the patch by fixing comments. Thanks Rakesh for the review!

> [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, 
> HDFS-11572-HDFS-10285-01.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



[jira] [Updated] (HDFS-11572) [SPS]: SPS should clean Xattrs when no blocks required to satisfy for a file

2017-04-14 Thread Uma Maheswara Rao G (JIRA)

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

Uma Maheswara Rao G updated HDFS-11572:
---
Status: Patch Available  (was: Open)

> [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



[jira] [Updated] (HDFS-11572) [SPS]: SPS should clean Xattrs when no blocks required to satisfy for a file

2017-04-14 Thread Uma Maheswara Rao G (JIRA)

 [ 
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