hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2900) Application (Attempt and Container) Not Found in AHS results in Internal Server Error (500)
Date Mon, 08 Dec 2014 23:01:13 GMT

    [ https://issues.apache.org/jira/browse/YARN-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238619#comment-14238619
] 

Zhijie Shen commented on YARN-2900:
-----------------------------------

bq.  I am not sure why the timelineserver throws some exception and we get a NotFound on the
browser. Can you explain what was the test that you did here?

What i did:

1. Start the timeline server while system metrics publisher is enabled for RM.
2. Submit a MR example job.
3. Type {{http://localhost:8188/ws/v1/applicationhistory/apps/application_1417818619773_0001?user.name=zshen}}
in browser, and check the output, which is right.
4. Type {{http://localhost:8188/ws/v1/applicationhistory/apps/application_1417818619773_0002?user.name=zshen}},
and look for NOT_FOUND message. However no response at all. And I see the aforementioned exception
in the timeline server log.

I applied this patch on trunk, and I could reproduce this issue. Undoing this patch, {{http://localhost:8188/ws/v1/applicationhistory/apps/application_1417818619773_0002?user.name=zshen}}
will return Internal Server Error (500), which is the expected current behavior. Did you have
a chance to reproduce it at ur side?

> Application (Attempt and Container) Not Found in AHS results in Internal Server Error
(500)
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-2900
>                 URL: https://issues.apache.org/jira/browse/YARN-2900
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Jonathan Eagles
>            Assignee: Mit Desai
>         Attachments: YARN-2900.patch, YARN-2900.patch, YARN-2900.patch, YARN-2900.patch,
YARN-2900.patch, YARN-2900.patch, YARN-2900.patch, YARN-2900.patch
>
>
> Caused by: java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.convertToApplicationReport(ApplicationHistoryManagerImpl.java:128)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.getApplication(ApplicationHistoryManagerImpl.java:118)
> 	at org.apache.hadoop.yarn.server.webapp.WebServices$2.run(WebServices.java:222)
> 	at org.apache.hadoop.yarn.server.webapp.WebServices$2.run(WebServices.java:219)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1679)
> 	at org.apache.hadoop.yarn.server.webapp.WebServices.getApp(WebServices.java:218)
> 	... 59 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message