Where does Hadoop store the logs of YARN applications?

后端 未结 2 1046
旧巷少年郎
旧巷少年郎 2020-12-05 19:54

I run the basic example of Hortonworks\' yarn application example. The application fails and I want to read the logs to figure out why. But I can\'t find any files at the ex

2条回答
  •  鱼传尺愫
    2020-12-05 20:02

    The container logs should be under 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.

提交回复
热议问题