Re: How to copy over using dfs

2011-05-27 Thread Harsh J
Mohit, On Sat, May 28, 2011 at 12:58 AM, Mohit Anchlia wrote: > If I have to overwrite a file I generally use > > hadoop dfs -rm > hadoop dfs -copyFromLocal or -put > > Is there a command to overwrite/replace the file instead of doing rm first? > There's no command available right now to do th

Re: How to copy over using dfs

2011-05-27 Thread Mark question
I don't think so, becauseI read somewhere that this is to insure the safety of the produced data. Hence Hadoop will force you to do this to know what exactly is happening. Mark On Fri, May 27, 2011 at 12:28 PM, Mohit Anchlia wrote: > If I have to overwrite a file I generally use > > hadoop dfs -

How to copy over using dfs

2011-05-27 Thread Mohit Anchlia
If I have to overwrite a file I generally use hadoop dfs -rm hadoop dfs -copyFromLocal or -put Is there a command to overwrite/replace the file instead of doing rm first?