Re: Need help to understand hadoop.tmp.dir

2014-03-03 Thread Chengwei Yang
On Mon, Mar 03, 2014 at 09:03:28AM -0500, JCAD Cell 1 wrote: > With the services stopped you would change the setting in core-site.xml: >   >     hadoop.tmp.dir >     /var/hadoop/tmp >   > > Then move your /tmp/hadoop folder over to the new location: > mv /tmp/hadoop /var/hadoop/tmp Thank you,

Re: Need help to understand hadoop.tmp.dir

2014-03-03 Thread JCAD Cell 1
With the services stopped you would change the setting in core-site.xml: hadoop.tmp.dir /var/hadoop/tmp Then move your /tmp/hadoop folder over to the new location: mv /tmp/hadoop /var/hadoop/tmp On Mon, Mar 3, 2014 at 5:55 AM, Chengwei Yang wrote: > On Mon, Mar 03, 2014 at 01:57:

Re: Need help to understand hadoop.tmp.dir

2014-03-03 Thread Chengwei Yang
On Mon, Mar 03, 2014 at 01:57:49PM +0530, shashwat shriparv wrote: > NO need to format just change the value and restart the cluster; Hmm, seems it doesn't work for me, if the only need to do is to change to another directory, then why it can not re-init the directory in /tmp just as another direc

Re: Need help to understand hadoop.tmp.dir

2014-03-03 Thread shashwat shriparv
NO need to format just change the value and restart the cluster; *Warm Regards_**∞_* * Shashwat Shriparv* [image: http://www.linkedin.com/pub/shashwat-shriparv/19/214/2a9][image: https://twitter.com/shriparv]

Re: Need help to understand hadoop.tmp.dir

2014-03-03 Thread Chengwei Yang
On Mon, Mar 03, 2014 at 11:56:08AM +0530, shashwat shriparv wrote: > Ya its always better to change the temp dir path in hadoop, as it will prevent > deletion of file while the server reboots. Thanks, so is there anyway to recovery from this state? Or I have to format namenode again? -- Thanks, C

Re: Need help to understand hadoop.tmp.dir

2014-03-02 Thread shashwat shriparv
Ya its always better to change the temp dir path in hadoop, as it will prevent deletion of file while the server reboots. *Warm Regards_**∞_* * Shashwat Shriparv* [image: http://www.linkedin.com/pub/shashwat-shriparv/19/214/2a9][image: h

Re: Need help to understand hadoop.tmp.dir

2014-03-02 Thread Chengwei Yang
On Mon, Mar 03, 2014 at 11:25:59AM +0530, shashwat shriparv wrote: > You can use any directory you like beside permissions are right. I mean if it's better if we change the default hadoop.tmp.dir? Because it can not work cross reboot in default Linux environment. -- Thanks, Chengwei > > > Warm

Re: Need help to understand hadoop.tmp.dir

2014-03-02 Thread shashwat shriparv
You can use any directory you like beside permissions are right. *Warm Regards_**∞_* * Shashwat Shriparv* [image: http://www.linkedin.com/pub/shashwat-shriparv/19/214/2a9][image: https://twitter.com/shriparv]

Need help to understand hadoop.tmp.dir

2014-03-02 Thread Chengwei Yang
Hi List, I'm confusing by hadoop.tmp.dir currently because its default value "/tmp/hadoop-${user.name}" always means a directory in tmpfs in Linux. So after the name node machine reboot, it gone away and then name node fail to start. I found this was reported here. http://mail-archives.apache.org