gpt4 book ai didi

logging - Hadoop 将 YARN 应用程序的日志存储在哪里?

转载 作者:可可西里 更新时间:2023-11-01 14:10:45 26 4
gpt4 key购买 nike

我运行 Hortonworks 的基本示例 yarn application example .应用程序失败,我想阅读日志以找出原因。但是我在存储我的 mapreduce 作业日志的预期位置 (/HADOOP_INSTALL_FOLDER/logs) 找不到任何文件。

有人知道 yarn 在哪里存储非 mapreduce 日志文件吗?我是否必须在 xml 文件中配置一个特殊目录?

最佳答案

容器日志应该在 yarn.nodemanager.log-dirs 下:

Where to store container logs. An application's localized log directory will be found in ${yarn.nodemanager.log-dirs}/application_${appid}. Individual containers' log directories will be below this, in directories named container_{$contid}. Each container directory will contain the files stderr, stdin, and syslog generated by that container.

关于logging - Hadoop 将 YARN 应用程序的日志存储在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21621755/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com