Is there any way we can overwrite existing files, while coping from HDFS using:
HDFS
hadoop fs -copyToLocal
-f option did the trick
-f
example:
bin>hdfs dfs -put -f D:\DEV\hadoopsampledata\mydata.json /input