[
https://issues.apache.org/jira/browse/AMBARI-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816160#comment-13816160
]
Srimanth Gunturi commented on AMBARI-3676:
------------------------------------------
[~erinaboyd], if the changes were made correctly and server restarted, the new
stack and its repositories should show up at
{code}
http://ambari-server:8080/api/v1/stacks2/HDP/versions?fields=Versions,operatingSystems/repositories/Repositories
{code}
Please look for object with
{code}
"href" :
"http://ambari-server:8080/api/v1/stacks2/HDP/versions/HDP-1.3.2-GlusterFS"
{code}
This object should have a property {{operatingSystems}}. Please check that all
sub resources have {{stack_version}} and {{repo-id}} correctly set to
{{1.3.2-GlusterFS}} and {{HDP-1.3.2-GlusterFS}} respectively.
What I have locally is
{code}
"operatingSystems" : [
{
"href" :
"http://c6401:8080/api/v1/stacks2/HDP/versions/1.3.2a/operatingSystems/centos5",
"OperatingSystems" : {
"os_type" : "centos5",
"stack_name" : "HDP",
"stack_version" : "1.3.2a"
},
"repositories" : [
{
"href" :
"http://c6401:8080/api/v1/stacks2/HDP/versions/1.3.2a/operatingSystems/centos5/repositories/HDP-1.3.2a",
"Repositories" : {
"base_url" :
"http://public-repo-1.hortonworks.com/HDP/centos5/1.x/updates/1.3.2.0",
"default_base_url" :
"http://public-repo-1.hortonworks.com/HDP/centos5/1.x/updates/1.3.2.0",
"mirrors_list" : null,
"os_type" : "centos5",
"repo_id" : "HDP-1.3.2a",
"repo_name" : "HDP",
"stack_name" : "HDP",
"stack_version" : "1.3.2a"
}
}
]
},
{code}
> Repo location not recognized for alternate stacks
> -------------------------------------------------
>
> Key: AMBARI-3676
> URL: https://issues.apache.org/jira/browse/AMBARI-3676
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.4.2
> Reporter: Erin A Boyd
>
> If you add a custom stack to the /src/main/resources/stacks/HDP/ dir when it
> is displayed on the second screen of the wizard, none of the links to the HDP
> repo work ,even though they are EXACTLY the same as when it's the 1.3.2 stack.
--
This message was sent by Atlassian JIRA
(v6.1#6144)