[jira] [Updated] (MAPREDUCE-4927) Historyserver 500 error due to NPE when accessing specific counters page for failed job
[ https://issues.apache.org/jira/browse/MAPREDUCE-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Lowe updated MAPREDUCE-4927: -- Resolution: Fixed Fix Version/s: 0.23.8 2.0.5-beta Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks, Ashwin! I committed this to trunk, branch-2, and branch-0.23. Historyserver 500 error due to NPE when accessing specific counters page for failed job --- Key: MAPREDUCE-4927 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4927 Project: Hadoop Map/Reduce Issue Type: Bug Components: jobhistoryserver Affects Versions: 2.0.3-alpha, 0.23.6 Reporter: Jason Lowe Assignee: Ashwin Shankar Fix For: 2.0.5-beta, 0.23.8 Attachments: MAPREDUCE-4927.txt Went to the historyserver page for a job that failed and examined the counters page. When I clicked on a specific counter, the historyserver returned a 500 error. The historyserver logs showed it encountered an NPE error, full traceback to follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4927) Historyserver 500 error due to NPE when accessing specific counters page for failed job
[ https://issues.apache.org/jira/browse/MAPREDUCE-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashwin Shankar updated MAPREDUCE-4927: -- Attachment: MAPREDUCE-4927.txt The problem is that a failed task doesn't have counters and we assume that we always get counters which causes an NPE. I've added a null check for counters to fix this. Also I've changed a unit test to incorporate this case. Historyserver 500 error due to NPE when accessing specific counters page for failed job --- Key: MAPREDUCE-4927 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4927 Project: Hadoop Map/Reduce Issue Type: Bug Components: jobhistoryserver Affects Versions: 2.0.3-alpha, 0.23.6 Reporter: Jason Lowe Attachments: MAPREDUCE-4927.txt Went to the historyserver page for a job that failed and examined the counters page. When I clicked on a specific counter, the historyserver returned a 500 error. The historyserver logs showed it encountered an NPE error, full traceback to follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4927) Historyserver 500 error due to NPE when accessing specific counters page for failed job
[ https://issues.apache.org/jira/browse/MAPREDUCE-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashwin Shankar updated MAPREDUCE-4927: -- Assignee: Ashwin Shankar Target Version/s: 2.0.5-beta, 0.23.8 Status: Patch Available (was: Open) Historyserver 500 error due to NPE when accessing specific counters page for failed job --- Key: MAPREDUCE-4927 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4927 Project: Hadoop Map/Reduce Issue Type: Bug Components: jobhistoryserver Affects Versions: 0.23.6, 2.0.3-alpha Reporter: Jason Lowe Assignee: Ashwin Shankar Attachments: MAPREDUCE-4927.txt Went to the historyserver page for a job that failed and examined the counters page. When I clicked on a specific counter, the historyserver returned a 500 error. The historyserver logs showed it encountered an NPE error, full traceback to follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira