Where to find hadoop.tmp.dir value on HDP 2.1?



0
My understanding is that hadoop.tmp.dir should be defined in core-site.xml but I cannot find it defined on my HDP 2.1 installation for VirtualBox on Windows. I looked into /usr/lib/hadoop/etc/hadoop/core-site.xml.

2 Answer(s)


0

I'm not sure this will be helpful, as I'm running Cloudera CDH5 in VMWARE. But first, it is using the conf.empty file for configuration, and that is saying that the temp_dir is /temp .

0

If it is not there it will use the default value (not sure what that is for Hortonworks). However, you can add it and set it to your desired location. Just make sure the permissions on the directory are ok. It is probably safest to use /tmp.