Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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!