hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aitor Cedres <aced...@pivotal.io>
Subject Re: Hadoop shutdown scripts failing
Date Mon, 29 Sep 2014 11:59:16 GMT
Hi Susheel,

You have to set in your hadoop-env.sh and yarn-env.sh the variabkes:


To point to some other directory (most common is /var/run/hadoop-hdfs

Hope it helps,

On 29 September 2014 07:50, Susheel Kumar Gadalay <skgadalay@gmail.com>

> How to redirect the storing of the following files from /tmp to some
> other location.
> hadoop-<os user>-namenode.pid
> hadoop-<os user>-datanode.pid
> yarn-<os user>-resourcemanager.pid
> yarn-<os user>-nodemanager.pid
> In /tmp, these files are cleared by OS sometime back and I am unable
> to shutdown by standard scripts stop-dfs.sh or stop-yarn.sh
> In core-site.xml I have given property hadoop.tmp.dir but still these
> pid files are present in /tmp only,

View raw message