We need better error messages in the UI if the AM gets killed or throws an Exception.
If the following error gets thrown:
java.lang.NumberFormatException: For input string: "9223372036854775807l" // last char is an L
then the UI should say this exception. Instead I get the following:
Application application_1326504761991_0018 failed 1 times due to AM Container for appattempt_1326504761991_0018_000001
exited with exitCode: 1 due to: Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException