You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sriharsha Chintalapani (JIRA)" <ji...@apache.org> on 2016/07/21 19:07:20 UTC

[jira] [Created] (AMBARI-17839) Ambari URLStreamProvider doesn't store the cookies

Sriharsha Chintalapani created AMBARI-17839:
-----------------------------------------------

             Summary: Ambari URLStreamProvider doesn't store the cookies 
                 Key: AMBARI-17839
                 URL: https://issues.apache.org/jira/browse/AMBARI-17839
             Project: Ambari
          Issue Type: Bug
            Reporter: Sriharsha Chintalapani
            Assignee: Mahadev konar
            Priority: Blocker
             Fix For: 2.4.0


Views generally makes calls via Ambari Proxy Server using URLStreamProvider. This is necessary as making direct calls to the Service REST-APIs is not desirable especially incase if ambari server is running with HTTPS and where as service rest apis are running with HTTP, these calls won't work.

URLStreamProvider currently doesn't store any cookies from the responses. 
This is required, In case of Storm where we use SPNEGO auth it returns a "hadoop-auth" cookie but it doesn't get stored and we get auth exceptions.
This works fine if we open the storm-ui directly in the browser which drops hadoop-auth cookie and ambari-server is able to read this cookie and send it to the storm-ui server .



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