How should I move files/folders from one Hadoop cluster to another and delete the source contents after moving?

399 Views Asked by At

Using hadoop's distcp command I am able to move the files across clusters but my requirement is after moving it should delete the contents from the source.

hadoop distcp -update -delete -strategy dynamic SOURCE* DEST*
0

There are 0 best solutions below