Hadoop pid file location and file name
The default pid file location for a hadoop cluster as of 19.1 and 19.2, might also be the same for earlier versions of hadoop
/tmp/hadoop-[USERNAME]-[NODETYPE].pid
I usually run hadoop as root so here is an example of the default pid file for a datanode
/tmp/hadoop-root-datanode.pid
NODETYPES
namenode
datanode
tasktracker
/tmp/hadoop-[USERNAME]-[NODETYPE].pid
I usually run hadoop as root so here is an example of the default pid file for a datanode
/tmp/hadoop-root-datanode.pid
NODETYPES
namenode
datanode
tasktracker
Comments