Removing the file programatically is doing the trick for me. thank you all for your answers and help :-)
On Tue, Mar 31, 2009 at 12:25 AM, some speed <speed.s...@gmail.com> wrote: > Hello everyone, > > Is it necessary to redirect the ouput of reduce to a file? When I am trying > to run the same M-R job more than once, it throws an error that the output > file already exists. I dont want to use command line args so I hard coded > the file name into the program. > > So, Is there a way , I could delete a file on HDFS programatically? > or can i skip setting a output file path n just have my output print to > console? > or can I just append to an existing file? > > > Any help is appreciated. Thanks. > > -Sharath >