[ https://issues.apache.org/jira/browse/HDFS-4564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883074#comment-13883074 ]
Daryn Sharp commented on HDFS-4564: ----------------------------------- I forgot to add that if the JKD is indeed automatically sending service tickets for subsequent requests, that is indeed a performance issue since the client has to go the KDC for another service ticket. The idea was that webhdfs use kerberos creds to a delegation token and then use it for all subsequent non-token operations. > Webhdfs returns incorrect http response codes for denied operations > ------------------------------------------------------------------- > > Key: HDFS-4564 > URL: https://issues.apache.org/jira/browse/HDFS-4564 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: webhdfs > Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Priority: Blocker > Attachments: HDFS-4564.branch-23.patch > > > Webhdfs is returning 401 (Unauthorized) instead of 403 (Forbidden) when it's > denying operations. Examples including rejecting invalid proxy user attempts > and renew/cancel with an invalid user. -- This message was sent by Atlassian JIRA (v6.1.5#6160)