Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

 
1 ACCEPTED SOLUTION

Accepted Solutions

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

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.

1 REPLY 1

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

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.