I keep getting the below error
I have seen a few postings related to this but no solution for what I should be looking for
Logs not available for attempt_1434490646451_0004_m_000000_0. Aggregation may not be complete, Check back later or try the nodemanager at quickstart.cloudera:8041
Check in CM if log aggregation is turned on under the yarn service.
Go to the yarn service, configuration, type aggregation in the search box.
All the settings you need to check are there (3 in total).
I ran into this problem myself. What I found with the 5.4 Quickstart VM (cloudera-quickstart-vm-5.4.0-0-virtualbox.ovf) was that log aggregation worked fine initially but when I turned on Cloudera Manager it broke.
What I had to do to fix it was:
After this log aggregation was working properly and I could view the logs with "yarn logs -applicationId <appId>" or view the Job History Server web UI.