Sreenath Somarajapuram created YARN-5558:
--------------------------------------------

             Summary: YARN Timeline Server and RM - Return status code 
401(Unauthorized) if the user is not in ACL
                 Key: YARN-5558
                 URL: https://issues.apache.org/jira/browse/YARN-5558
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager, timelineserver
            Reporter: Sreenath Somarajapuram


It would be better if YARN Timeline Server and RM could return status code 
401(Unauthorized) if the user is not in ACL
- Currently, if user is not in ACL, the REST APIs return status code 404 (Not 
Found).
- This makes it hard for the requester to determine if it was a permission 
issue, or the data was actually missing.
- Returning 401 would state that the user is not authorised to access the 
requested resource.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to