That was helpful to figure out what was required. I had to set the right path for variable *tmp* in the function from :
Path tmp = new Path("tmp") to Path tmp = new Path("<<CHOSEN DIRECTORY>>"); Silly mistake. Thanks for the clue :) -Vikas On Wed, Apr 1, 2015 at 1:34 AM, Suneel Marthi <suneel.mar...@gmail.com> wrote: > If u running Spectral KMeans via Command Line, u should be able to set the > parameter -tempDir to point to a different path > > On Wed, Apr 1, 2015 at 1:55 AM, Andrew Musselman < > andrew.mussel...@gmail.com > > wrote: > > > Can you let us know which code/scripts you're using? > > > > On Tuesday, March 31, 2015, Vikas Kumar <kumar...@umn.edu> wrote: > > > > > Hello, > > > > > > I am using Mahout Spectral clustering example which internally calls a > > map > > > reduce job. Right now, it is using */tmp/hadoop-<username>/mapred/..* > > > directory by default for its operations. > > > > > > Can someone please let me know how to make mahout to use a different > > path? > > > > > > Thanks > > > Vikas > > > > > >