Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.2.0
-
None
-
-
Reviewed
Description
It occurs when the property "mapreduce.task.userlog.limit.kb" is set non-zero in mapped-site.xml.
AM container syslog remains empty if any exception occurs.
Bug details:
In MRAppMaster.java, the following code snippets show the bug.
} catch (Throwable t) { LOG.fatal("Error starting MRAppMaster", t); System.exit(1); }finally { LogManager.shutdown(); }
In the catch block, we are exiting the JVM. So finally block (therefore LogManager.shutdown()) is never executed.
Possible fix:
Make sure LogManager.shutdown() is executed in all cases.
Attachments
Attachments
Issue Links
- relates to
-
MAPREDUCE-5730 AM log is truncated
- Resolved