应该有两个地方,你从这个配置文件中Core-site.xml看看:
- <!-- 本地路径,nm存放container日志的本地路径-->
- <property>
- <name>yarn.nodemanager.log-dirs</name>
- <value>/hadoop/hadoop-2.0.0-cdh4.5.0/yarn/containers</value>
- </property>
-
复制代码
- <property>
- <description>Where to aggregate logs</description>
- <!-- hdfs路径,container日志在hdfs存放的路径-->
- <name>yarn.nodemanager.remote-app-log-dir</name>
- <value>/var/log/hadoop-yarn/app</value>
- </property>
复制代码
|