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

Anu Engineer commented on HDFS-12196:
-------------------------------------

bq. That absolutely makes sense. I have already created an abstract class 
AbstractRecyclingService which is a base class for all Recycling Services

I was suggesting something little more ambitious. I was suggesting that we need 
to create an interface called Background tasks for KSM, SCM and Datanode. All 
tasks like Recycling task or volume scanner or garbage collection tasks for 
incomplete objects etc, Should run in that mode.

I do see that having a Recycling Interface is nice, so it is easy to see how 
KSM Recycling, SCM Recycling, and Datanode stuff all relate to each other. I 
would really love if they are all part of Background Task interface for Ozone.


> Ozone: DeleteKey-2: Implement container recycling service to delete stale 
> blocks at background
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12196
>                 URL: https://issues.apache.org/jira/browse/HDFS-12196
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: HDFS-12196-HDFS-7240.001.patch
>
>
> Implement a recycling service running on datanode to delete stale blocks.  
> The recycling service scans staled blocks for each container and delete 
> chunks and references periodically.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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