I am using
hdfs dfs -put myfile mypath
and for some files I get
put: 'myfile': File Exists
Thanks!
Means,the file named "myfile" already exists in hdfs. You cannot have multiple files of the same name in hdfs
You can overwrite it using hadoop fs -put -f /path_to_local /path_to_hdfs
hadoop fs -put -f /path_to_local /path_to_hdfs
2.1m questions
2.1m answers
60 comments
56.8k users