Support Questions
Find answers, ask questions, and share your expertise

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

 
1 ACCEPTED SOLUTION

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

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.