You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Dilli Arumugam (JIRA)" <ji...@apache.org> on 2013/10/01 01:16:23 UTC

[jira] [Created] (KNOX-173) leverage presence of delegation token to avoid buffering request entity

Dilli Arumugam created KNOX-173:
-----------------------------------

             Summary: leverage presence of delegation token to avoid buffering request entity 
                 Key: KNOX-173
                 URL: https://issues.apache.org/jira/browse/KNOX-173
             Project: Apache Knox
          Issue Type: Improvement
          Components: Server
    Affects Versions: 0.3.0
            Reporter: Dilli Arumugam
            Assignee: Dilli Arumugam
             Fix For: 0.3.0


At present,  HttpClientDispatch caches request entities while talking to services in secure cluster to replay the entity for a potential WWW-Authenticate challenge from service.

This could be improved by leveraging delegation token coming down with the request to Knox.  When we pass down the delegation token, we do not expect to see WWW-Authenticate challenge.  When Knox gets request from client targeted to DataNode, it would always have DelegationToken. So, large files would be streamed straight without any buffering.



--
This message was sent by Atlassian JIRA
(v6.1#6144)