[ 
https://issues.apache.org/jira/browse/YARN-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated YARN-2591:
------------------------------
    Attachment: YARN-2591.2.patch

Throw authorization exception instead. And change the test cases accordingly to 
verify 403 code.

> AHSWebServices should return FORBIDDEN(403) if the request user doesn't have 
> access to the history data
> -------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2591
>                 URL: https://issues.apache.org/jira/browse/YARN-2591
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: 3.0.0, 2.6.0
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-2591.1.patch, YARN-2591.2.patch
>
>
> AHSWebServices should return FORBIDDEN(403) if the request user doesn't have 
> access to the history data. Currently, it is going to return 
> INTERNAL_SERVER_ERROR(500).



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

Reply via email to