Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Falcon HDFS Mirror deletions

avatar
Super Collaborator

Hi,

I set up a Falcon HDFS mirror. Inserts and file updates in the Src are handled just fine. Only deletions from the Src are not reflected in the Tgt. Is that a config thing or just not supported?

1 ACCEPTED SOLUTION

avatar
@Jasper

Pass removeDeletedFiles property in the request. This maps to -delete option in DistCP. Thanks!

View solution in original post

3 REPLIES 3

avatar
@Jasper

Pass removeDeletedFiles property in the request. This maps to -delete option in DistCP. Thanks!

avatar
Super Collaborator

@Sowmya Ramesh is there a hook for that in the Falcon WebUI? Is it that TAG > Value thing maybe

avatar

Looks like this is not supported in UI. You can do a it through REST API or command line. Refer https://falcon.apache.org/restapi/ExtensionSubmitAndSchedule.html

or update existing mirror jobs using https://falcon.apache.org/restapi/ExtensionUpdate.html

Add "removeDeletedFiles=true" as POSt parameter. Thanks!