Alejandro Fernandez created AMBARI-8128:
-------------------------------------------
Summary: Jobs View: Hive job not shown with HDP-2.2, returns 403
anonymous requests disallowed
Key: AMBARI-8128
URL: https://issues.apache.org/jira/browse/AMBARI-8128
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 1.7.0
Reporter: Alejandro Fernandez
Assignee: Alejandro Fernandez
Priority: Critical
Fix For: 1.7.0
Create an HDP 2.2 cluster with ATS and instantiate the Jobs View.
Upon navigating to http://server:8188/applicationhistory
or seeing the Jobs View, the following error is returned.
Headers:
{code}
Remote Address:192.168.56.101:8080
Request
URL:http://192.168.56.101:8080/views/JOBS/1.0.0/bgfb/proxy?url=http%3A//test101.vm%3A8188/ws/v1/timeline/HIVE_QUERY_ID%3Flimit%3D1%26secondaryFilter%3Dtez%3Atrue%2CTEZ%3Atrue
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:application/json, text/javascript, */*; q=0.01
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8,ru;q=0.6
Connection:keep-alive
Cookie:AMBARISESSIONID=1ss4kvze9uknd1ak5beqb5fuwa
DNT:1
Host:192.168.56.101:8080
Referer:http://192.168.56.101:8080/views/JOBS/1.0.0/bgfb/
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/40.0.2194.2 Safari/537.36
X-Requested-With:XMLHttpRequest
Query String Parametersview sourceview URL encoded
url:http://test101.vm:8188/ws/v1/timeline/HIVE_QUERY_ID?limit=1&secondaryFilter=tez:true,TEZ:true
Response Headersview source
Content-Length:1411
Content-Type:text/html;charset=ISO-8859-1
Server:Jetty(7.6.7.v20120910)
{code}
Response:
{code}
<html><head><meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"/><title>Error 403 Anonymous requests are
disallowed</title></head><body><h2>HTTP ERROR 403</h2><p>Problem accessing
/ws/v1/timeline/HIVE_QUERY_ID. Reason:<pre> Anonymous requests are
disallowed</pre></p><hr /><i><small>Powered by Jetty://</small>
{code}
Server hash: 4c779b0f947cb28c0a247b201135afd005e7f7de
Installed components: HDFS, MapReduce2, YARN, Tez, Nagios, Ganglia, Hive, Pig,
ZK . All with default settings.
Seems that problem is with "Error 403 Anonymous requests are disallowed"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)