-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26540/
-----------------------------------------------------------
(Updated Oct. 10, 2014, 9:59 p.m.)
Review request for Ambari, Srimanth Gunturi and Tom Beerbower.
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 (updated)
-----
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