Hi Team,

I came to know that we have BigInsights integrated with ambari in BI 4.0 
version.
So, I manually deployed the cluster via ambari UI and all the services were up 
and running.
In this, I have used my local repository for the deployment.

Currently, I want to convert this manual steps into automation.
For the same, I was wondering how can I add my local stack repositories via 
ambari rest apis.

I investigated on this and found some pointers on the url 
https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-Step4:SetupStackRepositories(Optional)
However, I am not getting what should be the value or how to get the names 
highlighted in bold as below

PUT 
/api/v1/stacks/:stack/versions/:stackVersion/operating_systems/:osType/repositories/:repoId

For HDP its something like,
/api/v1/stacks/HDP/versions/2.2/operating_systems/redhat6/repositories/HDP-2.2

Is there any way by which I can get this value via REST API in the BI 4.0 
deployed cluster ?

Help Appreciated !!


With Regards,
Pratik Gadiya


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Reply via email to