Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-173

leverage presence of delegation token to avoid buffering request entity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • Server
    • None

    Description

      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.

      Attachments

        1. KNOX-173.patch
          6 kB
          Dilli Arumugam

        Issue Links

          Activity

            People

              darumugam Dilli Arumugam
              darumugam Dilli Arumugam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: