ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako" <yus...@hortonworks.com>
Subject Re: Review Request 26326: Jobs View proxy does not apply all URL query params
Date Fri, 03 Oct 2014 20:58:40 GMT

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

Ship it!


Ship It!

- Yusaku Sako


On Oct. 3, 2014, 8:57 p.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26326/
> -----------------------------------------------------------
> 
> (Updated Oct. 3, 2014, 8:57 p.m.)
> 
> 
> Review request for Ambari, Jaimin Jetly, Srimanth Gunturi, Tom Beerbower, and Yusaku
Sako.
> 
> 
> Bugs: AMBARI-7641
>     https://issues.apache.org/jira/browse/AMBARI-7641
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The Jobs view should only show Tez jobs.
> This is a bug in Ambari after switching to the Views proxy instead of the generic proxy.
> E.g., 
> http://server:8188/ws/v1/timeline/HIVE_QUERY_ID?fields=events,primaryfilters,otherinfo&secondaryFilter=tez:true
> returns only the tez jobs, as expected
> http://viewserver:8080/views/JOBS/1.0.0/instance/proxy?url=http://server:8188/ws/v1/timeline/HIVE_QUERY_ID?fields=events,primaryfilters,otherinfo&secondaryFilter=tez:true
> seems to interpret "&secondaryFilter=tez:true" as a parameter to the proxy endpoint,
and not as part of the string that makes up the "url" query parameter.
> 
> 
> Diffs
> -----
> 
>   contrib/views/jobs/src/main/resources/ui/app/scripts/helpers/ajax.js 728b26a 
> 
> Diff: https://reviews.apache.org/r/26326/diff/
> 
> 
> Testing
> -------
> 
> Built the view and verified it works after deploying the jar file.
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message