-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30732/
-----------------------------------------------------------

Review request for Ambari and Alejandro Fernandez.


Bugs: AMBARI-9520
    https://issues.apache.org/jira/browse/AMBARI-9520


Repository: ambari


Description
-------

PROBLEM:

HDP 2.2.0, Ambari 1.7.0, kerberos cluster, HTTPS enabled.  
ambari-server setup-security has run to enable ambari JAAS. Also I have tried
disable ATS http authentication but it doesn't help. A similar cluster without
HTTPS does not have this problem.

In HTTPS ATS set up, yarn.http.policy=HTTPS_ONLY, ambari job view does not
load. The url generated by Ambari

<http://hdpsecd01.secd.hwxsup.com:8080/views/JOBS/1.0.0/hdpsecd/proxy?url=http
s://hdpsecd02.secd.hwxsup.com:8190/ws/v1/timeline/HIVE_QUERY_ID>

does not load

<http://hdpsecd01.secd.hwxsup.com:8080/proxy?url=https://hdpsecd02.secd.hwxsup
.com:8190/ws/v1/timeline/HIVE_QUERY_ID>

gives error "cannot connect"

meanwhile, the ATS url works fine

<https://hdpsecd02.secd.hwxsup.com:8190/ws/v1/timeline/HIVE_QUERY_ID>


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/view/HttpImpersonatorImpl.java
 ed5ef3c 

Diff: https://reviews.apache.org/r/30732/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to