@ CliObjectOption ( description = "Delete files in target that don't exist on source." ) public EmbeddedGobblinDistcp delete ( ) { this . setConfiguration ( RecursiveCopyableDataset . DELETE_KEY , Boolean . toString ( true ) ) ; return this ; }
Specifies that files in the target that don t exist in the source should be deleted . Equivalent to - delete option in Hadoop distcp .