[
https://issues.apache.org/jira/browse/HDFS-12742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224626#comment-16224626
]
Weiwei Yang commented on HDFS-12742:
------------------------------------
Hi [~shashikant]
I am confused with this patch, {{KSMExpunge}} seems to get all keys from KSM
and then ask SCM to delete corresponding blocks. Note, this will only purge the
deleted keys from KSM, leaving SCM and all actual data on DN behind. Please
take a look at the design doc in HDFS-11922, SCM/DN deletes stuff in async
manner, SCM answers back KSM some key is deleted once it acknowledges this
deletion (persisted the deleted blocks in a log file). Is this the purpose of
the JIRA? I can't think any reason that to just purge KSM immediately but not
SCM and DN.
> Add support for KSM --expunge command
> -------------------------------------
>
> Key: HDFS-12742
> URL: https://issues.apache.org/jira/browse/HDFS-12742
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: HDFS-7240
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Fix For: HDFS-7240
>
> Attachments: HDFS-12742-HDFS-7240.001.patch,
> HDFS-12742-HDFS-7240.002.patch
>
>
> KSM --expunge will delete all the data from the data nodes for all the keys
> in the KSM db.
> User will have no control over the deletion.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]