Hadoop DistCp handle same file name by renaming Hadoop DistCp handle same file name by renaming hadoop hadoop

Hadoop DistCp handle same file name by renaming


Distcp does not have that option. If you are using the Java API for it, it can be easily handled by checking if the destination path exist and changing the path in case it already exists. You can check that with a FileSystem object using the method exists(Path p).