YARN-82. Change the default local and log dirs to be based on hadoop.tmp.dir and yarn.log.dir. (Contributed by Hemanth Yamijala)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1388339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Siddharth Seth 2012-09-21 06:28:47 +00:00
parent fa6d519657
commit f4c336d547
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,9 @@ Trunk - Unreleased
YARN-57. Allow process-tree based resource calculation et al. to be YARN-57. Allow process-tree based resource calculation et al. to be
pluggable to support it on multiple platforms. (Radim Kolar via acmurthy) pluggable to support it on multiple platforms. (Radim Kolar via acmurthy)
YARN-82. Change the default local and log dirs to be based on
hadoop.tmp.dir and yarn.log.dir. (Hemanth Yamijala via sseth)
OPTIMAZATIONS OPTIMAZATIONS
BUG FIXES BUG FIXES

View File

@ -328,7 +328,7 @@
be subdirectories of this. be subdirectories of this.
</description> </description>
<name>yarn.nodemanager.local-dirs</name> <name>yarn.nodemanager.local-dirs</name>
<value>/tmp/nm-local-dir</value> <value>${hadoop.tmp.dir}/nm-local-dir</value>
</property> </property>
<property> <property>
@ -370,7 +370,7 @@
stderr, stdin, and syslog generated by that container. stderr, stdin, and syslog generated by that container.
</description> </description>
<name>yarn.nodemanager.log-dirs</name> <name>yarn.nodemanager.log-dirs</name>
<value>/tmp/logs</value> <value>${yarn.log.dir}/userlogs</value>
</property> </property>
<property> <property>