Hi Abhay,

On Wed, Jul 25, 2012 at 10:44 PM, Abhay Ratnaparkhi
<abhay.ratnapar...@gmail.com> wrote:
> "hadoop.tmp.dir" points to the directory on local disk to store
> intermediate task related data.
>
> It's currently mounted to "/tmp/hadoop" for me. Some of my jobs are running
> and Filesystem on which '/tmp' is mounted is getting full.
> Is it possible to change "hadoop.tmp.dir" parameter before submitting a new
> job?

You can override "hadoop.tmp.dir" everytime before submitting your Job.
I tried like this :

Configuration configuration = new Configuration();
config.set("hadoop.tmp.dir", "/home/user/some-other-path");
Job job = new Job(config, "Job1");

It produced same result (I didn't format anything)

Thanks
-- 
Alok

Reply via email to