If I have to overwrite a file I generally use

hadoop dfs -rm <file>
hadoop dfs -copyFromLocal or -put <file>

Is there a command to overwrite/replace the file instead of doing rm first?

Reply via email to