Skip to main content
muslihuddin
Gold ⭐️
Apr 20, 2021 9:27 PM UTC
Solved

Availability of logs on Hue Web UI or YARN RM after Jobs finished

Hi all,

I've run few oozie workflow through Hue. 

But once the jobs finished, I cannot see the logs anymore.

 

I'm wondering whether this is normal behaviour or I can config something on yarn to make the logs available even after job finishes. 

 

yarn.log-aggregation-enable is set to enable on the cluster

 

Using this command is fine. yarn logs -applicationId <Application ID>. Only cannot see in the hue web ui after the job finished

 

job.JPG

 

Thanks

muslihuddin
Gold ⭐️
May 1, 2021 6:28 AM UTC

I've resolved this. Turn out my permission on the logs folder is messed up.

 

Changed the /tmp/logs folder to be owned by mapred solved this.

1 reply

muslihuddin
muslihuddinAuthorAnswer
Gold ⭐️
May 1, 2021 6:28 AM UTC

I've resolved this. Turn out my permission on the logs folder is messed up.

 

Changed the /tmp/logs folder to be owned by mapred solved this.

Translate