Support Questions

Find answers, ask questions, and share your expertise

How to add repo for Custom Service?

Hello All,

I want to add repo for custom service. I tried the following link -, but couldn't get through it.

Any leads is deeply appreciated.




Super Mentor

@sakshi chourasia

Your custom service can be inside the the ambari server as following: /var/lib/ambari-server/resources/common-services/${YOUR_CUSTOM_SERVICE}/0.1.0

- You will need to change the "${YOUR_CUSTOM_SERVICE}/0.1.0" part according to your service version and custom service name.

The ambari custom stacks can be defined here: /var/lib/ambari-server/resources/stacks as mentioned in :

Have you tried creating a file as repos/repoinfo,xml as mentioned in the following examples:


Example of repoinfo.xml can be seen:


Please let us know if you find any error/exception while implementing the same?

I have tried but not able to see the dialogue box coming which shows/ask for the custom service repo.

@Jay SenSharma, Have you tried this?

Steps I followed is -

1. I am adding custom service using mpack.

2. The repoinfo.xml for custom service I have added as follows -


The same file is not getting populated in ambari-agent.

@jluniya, have I followed the correct steps. Is custom service repo feature is supported for ambari-2.4.2 with mpack?