[ 
https://issues.apache.org/jira/browse/HDFS-13033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334379#comment-16334379
 ] 

Rakesh R commented on HDFS-13033:
---------------------------------

Thanks [~umamaheswararao] for the reviews.

Attached new patch. Here, I've moved commonly used classes for the external and 
internal to "org.apache.hadoop.hdfs.server.common.sps" package, does this make 
sense. Also, I've created {{TestExternalStoragePolicySatisfier}} test class to 
run unit testing. I will rebase my patch once this test class will get 
committed via HDFS-13025.

> [SPS]: Implement a mechanism to do file block movements for external SPS
> ------------------------------------------------------------------------
>
>                 Key: HDFS-13033
>                 URL: https://issues.apache.org/jira/browse/HDFS-13033
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>            Priority: Major
>             Fix For: HDFS-10285
>
>         Attachments: HDFS-13033-HDFS-10285-00.patch, 
> HDFS-13033-HDFS-10285-01.patch
>
>
> HDFS-12911 modularization is introducing \{{BlockMoveTaskHandler}} interface 
> for moving the file blocks. That will help us to plugin different ways of 
> block move mechanisms, if needed.
> For Internal SPS, we have simple blk movement tasks to target DN descriptors. 
> For external SPS, we should have mechanism to send \{{replaceBlock}} on 
> target node and have a listener to track the block movement completion. 
> This is the task to implement the \{{ExternalSPSBlockMoveTaskHandler}} plugin 
> for external SPS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to