Support Questions

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

In HDFS Distcp is there a way to replace a file by a folder with the same name

avatar
 
1 ACCEPTED SOLUTION

avatar

Currently, It seems there is no option in distcp to do so. File can be replaced by a File and directory by a directory by passing "-update" option to command.

View solution in original post

1 REPLY 1

avatar

Currently, It seems there is no option in distcp to do so. File can be replaced by a File and directory by a directory by passing "-update" option to command.