ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi" <srima...@hortonworks.com>
Subject Re: Review Request 26540: Jobs View: /resources/status should provide view parameters
Date Mon, 13 Oct 2014 18:42:27 GMT

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

Ship it!


Ship It!

- Srimanth Gunturi


On Oct. 13, 2014, 5:50 p.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26540/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2014, 5:50 p.m.)
> 
> 
> Review request for Ambari, Jaimin Jetly, Srimanth Gunturi, Sid Wagle, Tom Beerbower,
and Yusaku Sako.
> 
> 
> Bugs: AMBARI-7719
>     https://issues.apache.org/jira/browse/AMBARI-7719
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Jobs view should provide the view parameters as internal resource. For this, we need
API http://server:8080/api/v1/views/JOBS/versions/1.0.0/instances/sv1/resources/status which
will provide below response.
> parameters: {
>     "yarn.ats.url" : "http://server:8188",
>     "yarn.resourcemanager.url" : "http://server:8088"
> }
> 
> 
> Diffs
> -----
> 
>   contrib/views/jobs/pom.xml f2173e3 
>   contrib/views/jobs/src/main/java/org/apache/ambari/view/jobs/ViewController.java PRE-CREATION

>   contrib/views/jobs/src/main/java/org/apache/ambari/view/jobs/ViewControllerImpl.java
PRE-CREATION 
>   contrib/views/jobs/src/main/java/org/apache/ambari/view/jobs/ViewStatus.java PRE-CREATION

>   contrib/views/jobs/src/main/java/org/apache/ambari/view/jobs/rest/ViewStatusResource.java
PRE-CREATION 
>   contrib/views/jobs/src/main/resources/view.xml 6dd5ee6 
> 
> Diff: https://reviews.apache.org/r/26540/diff/
> 
> 
> Testing
> -------
> 
> Deployed the view and ensured that could access the URL http://server:8080/api/v1/views/JOBS/versions/1.0.0/instances/sv1/resources/status
which displayed
> parameters: {
>     "yarn.ats.url" : "http://server:8188",
>     "yarn.resourcemanager.url" : "http://server:8088"
> }
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


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