incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srimanth Gunturi <>
Subject Re: need help with adding service to stack
Date Fri, 12 Jul 2013 18:48:01 GMT
Hi Aaron,
During install you should select whatever stack you added your service to.
That stack should also be marked active=true in its metainfo.xml to show up
in UI.
Stacks being worked upon (ex: HDP2.0.1) will be in source, but will not
show up in UI due to that active flag.

Ambari UI might not show your service currently, as it might be hardcoded
to show only some predefined services.
If you observe that to be the case, please open a JIRA for Ambari UI to
dynamically show services available in a stack.
Hope that helps.

On Fri, Jul 12, 2013 at 11:09 AM, Aaron Cody <> wrote:

> - Ok so looking at the hosts, I see that the ambari.repo file isn't
> getting copied over .. so nothing is getting installed on them..  I need to
> understand this bootstrap process better … where is the code/script that
> implements it?
>  Q: as I have modified ambari.repo, I'm wondering if my modified version
> needs to be placed somewhere on my yum server?
> Just to clarify what I did so far:
>  I added something like this to ambari.repo on the master ..  :
> [My-Ambari-Services]
> name=My Ambari Services
> baseurl=
> gpgcheck=0
> enabled=1
> priority=0
> …and then I put the rpm for my new service plus the rebuilt
> ambari-server/agent rpms  up on my yum server in the yum_repo/ambari folder…
> - regarding versions - I'm a bit confused ..  :)
> - In the source code I have (git clone git://,
> I see stack versions  under src/main/resources/ :
>  stacks.HDP.1.2.0
> stacks.HDP.1.2.1
> stacks.HDP.1.3.0 <--- I added my service in here….
>  stacks.HDP.2.0.1 ???
> - in the Ambari docs (on the web), versions 0.9, 1.2.0, 1.2.1, 1.2.2,
> 1.2.3 are all mentioned….
>  -in the Ambari UI, you get to choose between 1.3.0 or 1.2.1    (I select
> 1.3.0 as that's where I added my service)
> - in your reply you mention 1.2.4, but it's not available yet, so that's
> no good to me ;)
> Q: what version should I be using today in order to add a service to the
> stack?
> thanks
> A
> From: Siddharth Wagle <>
> Reply-To: <>
> Date: Thu, 11 Jul 2013 19:38:08 -0700
> To: <>
> Subject: Re: need help with adding service to stack
> Hi Aaron,
> 'it just sits there 'installing'
> - Do you have the ambari-agent package in the rpm, can you verify it is
> getting installed on the host? (rpm -qa | grep ambari-agent)
> Q: should I be adding my service to the 1.3.0 stack tree or the 1.2.x
> stack tree?
> Ambari will allow stack selection in the 1.2.4 release, should be
> available by next week, you can use the call
> http://localhost:8080/api/v1/clusters/<name> to determine the default
> stack.
> Q: how do you map a service name to the actual rpm containing the service?
> There is no mapping a service to rpm, a package will be installed by the
> agent based on what rpm is available. This can be from the repo of users
> choosing, the ambari agent will only ascertain the correct package for a
> service is installed.
> Here is the link to design docs which should help,
> -Sid
> On Thu, Jul 11, 2013 at 6:52 PM, Aaron Cody <> wrote:
>> Thanks Sid, ok well that didn't seem to get me any further…
>> Q: should I be adding my service to the 1.3.0 stack tree or the 1.2.x
>> stack tree?
>> Q: what determines the version?
>> Q: how do you map a service name to the actual rpm containing the service?
>> After adding my service, I'm rebuilding the ambari rpms (server/agent)
>> and putting them up on my yum repo .. then setting the priority of my repo
>> to 0 so that it trumps yours … so that when I do the usual 'yum install
>> ambari-server' it pulls down my rebuilt rpm … that all goes fine, but when
>> I go into the web interface, define my two hosts and hit next… it just sits
>> there 'installing' .. No progress .. No errors .. Nothing…. I checked
>> passwordless SSH is configured correctly … it is….
>> Any ideas?

View raw message