Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

TEZ view over KNOX

Highlighted

TEZ view over KNOX

Hello,

I have 1 Ambari HDP and 1 Ambari Views.

We should acces to TEZ View with Ambari Views, over KNOX.
But i have a problem, the URL in AJAX query is invalid :
I draw your attention to the fact that [callerId:"] is present in URL, and it is wrong.

This problem appear only when use knox, during asynchrone call (ajax).

Example : When i want view task in datatable

TEZ View work with other Ambari (without KNOX) and Hive View, File View work with KNOX in Ambari Views.

My problem is just with TEZ over KNOX.

Generate URL :

http://HOST:8080/api/v1/views/TEZ/versions/0.7.0.2.6.4.0-91/instances/Tez/resources/atsproxy/ws/v1/timeline/TEZ_DAG_ID?limit=9007199254740991&primaryFilter=callerId:"hive_20180730172908_06ded5e9-a551-43ba-a48e-0c270c84d924"&_=1533103629725 


TRACE ERROR :
2018-08-01 08:07:13,686 ERROR hadoop.gateway (GatewayServlet.java:service(146)) - Gateway processing failed: javax.servlet.ServletException
: java.lang.IllegalArgumentException: Illegal character in query at index 189: http://HOST:8080/api/v1/views/TEZ/ve
rsions/0.7.0.2.6.4.0-91/instances/Tez/resources/atsproxy/ws/v1/timeline/TEZ_DAG_ID?limit=9007199254740991&primaryFilter=callerId:"hive_2018
0730171134_36a47347-b0e7-4ddc-bfb2-5a362a2f8c5c"&_=1533103629729
2018-08-01 08:07:13,686 WARN servlet.ServletHandler (ServletHandler.java:doHandle(620)) -
javax.servlet.ServletException: java.lang.IllegalArgumentException: Illegal character in query at index 189: http://HOST:8080/api/v1/views/TEZ/versions/0.7.0.2.6.4.0-91/instances/Tez/resources/atsproxy/ws/v1/t...
maryFilter=callerId:"hive_20180730171134_36a47347-b0e7-4ddc-bfb2-5a362a2f8c5c"&_=1533103629729
at org.apache.hadoop.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:70)
at org.apache.hadoop.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:332)
at org.apache.hadoop.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:232)
at org.apache.ranger.authorization.knox.RangerPDPKnoxFilter.doFilter(RangerPDPKnoxFilter.java:166)
at org.apache.ranger.authorization.knox.RangerPDPKnoxFilter.doFilter(RangerPDPKnoxFilter.java:110)
at org.apache.hadoop.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:332)
at org.apache.hadoop.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:232)
at org.apache.hadoop.gateway.filter.rewrite.api.UrlRewriteServletFilter.doFilter(UrlRewriteServletFilter.java:60)
at org.apache.hadoop.gateway.filter.AbstractGatewayFilter.doFilter(AbstractGatewayFilter.java:61)
at org.apache.hadoop.gateway.GatewayFilter$Holder.doFilter(GatewayFilter.java:332)
at org.apache.hadoop.gateway.GatewayFilter$Chain.doFilter(GatewayFilter.java:232)
at org.apache.hadoop.gateway.filter.AnonymousAuthFilter$1.run(AnonymousAuthFilter.java:76)
at java.security.AccessController.doPrivileged(Native Method)
Don't have an account?
Coming from Hortonworks? Activate your account here