Created 05-25-2018 08:34 PM
Hi ,
I am getting below error when i ran the below command
1st question
bash-4.1$ yarn logs -applicationId application_55261206146721_39976
18/05/23 23:10:20 INFO client.RMProxy: Connecting to ResourceManager at
xxxxxxxxxxxxxxxxxxxxxxxxx
/tmp/logs/yarn/logs/application_55261206146721_39976 does not exist.
Log aggregation has not completed or is not enabled.
i already enabled
yarn.log-aggregation-enable=true
yarn.nodemanager.remote-app-log-dir=/tmp/logs
yarn.log-aggregation.retain-seconds=3 days
2nd question:
does below command syntax supported in cloudera?
yarn logs -applicationId application_332332323073474_0002 -show_application_log_info
yarn logs -applicationId application_1332332323073474_0002 -show_container_log_info
Regards
Jacqueline
Created on 05-25-2018 11:31 PM - edited 05-25-2018 11:40 PM
I am not sure which version of CDH version you runining but based on the documenation looks like you can use the yarn logs command in the mentioned version of CDH
https://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-yarn/hadoop-yarn-site/YarnCommands.html
Try enabling this property in the server side configuration in cloudera manager. Client do not have access to this property in case if you had enabled in the client side .
Created 05-27-2018 09:09 PM