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 24990: List of services from Non-HDP stack is not available on UI
Date Fri, 22 Aug 2014 21:48:11 GMT

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

Ship it!


Ship It!

- Srimanth Gunturi


On Aug. 22, 2014, 7:27 p.m., Jaimin Jetly wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24990/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2014, 7:27 p.m.)
> 
> 
> Review request for Ambari, Srimanth Gunturi and Yusaku Sako.
> 
> 
> Bugs: AMBARI-6964
>     https://issues.apache.org/jira/browse/AMBARI-6964
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 1. Build RPM off trunk (8/20/2014) and install ambari-server
> 2. Define a new non-HDP stack in /var/lib/ambari-server/resources/stacks/PHD/2.1.0
> 3. Start Ambari Server, enter the cluster creation wizard, specify PHD 2.1.0 stack to
create, enter hosts and try to navigate to step 4 "Choose Services"
> 4. No services are presented on the screen to choose from and further wizard progress
is impossible.
> 
> The UI is requesting http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/PHD-2.1.0/services?fields=StackServices/*,serviceComponents/*&_=1408573789399
and receives the response:
> {
>   "status" : 404,
>   "message" : "Parent Stack Version resource doesn't exist.  Stack data, stackName=HDP,
stackVersion=PHD-2.1.0"
> }
> 
> where the name of the stack family is still hardcoded to HDP, instead of PHD.
> 
> The following API returns a proper list of services for the new stack: http://c6401.ambari.apache.org:8080/api/v1/stacks/PHD/versions/2.1.0
> 
> 
> Diffs
> -----
> 
>   ambari-web/app/app.js 09c56fe 
>   ambari-web/app/config.js f4e882a 
>   ambari-web/app/controllers/main/admin/repositories.js d233031 
>   ambari-web/app/utils/ajax/ajax.js 09d68c6 
>   ambari-web/app/views/main/admin/repositories.js dfbb123 
>   ambari-web/test/app_test.js 4367797 
>   ambari-web/test/controllers/wizard/step4_test.js 9e54e92 
> 
> Diff: https://reviews.apache.org/r/24990/diff/
> 
> 
> Testing
> -------
> 
> tested by creating a non-hdp stack. All the services of the non-hdp stack version are
rendered on "select services page"
> 
> 
> Thanks,
> 
> Jaimin Jetly
> 
>


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