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

(Updated Oct. 3, 2014, 8:54 p.m.)


Review request for Ambari, Jaimin Jetly, Srimanth Gunturi, Tom Beerbower, and 
Yusaku Sako.


Changes
-------

Javascript-side fix.


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 (updated)
-----

  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

Reply via email to