Hello, I am trying to create an ansible deployment script for HDP using Ambari blueprints. So far I can deploy clusters on an environment where I have internet access. However, I am unable to do so on environments that have their own local cached repo and no internet access for the servers. I get the following error when I am trying to modify the base repo url "org.apache.ambari.server.controller.spi.NoSuchResourceException: The specified resource doesn't exist: Stack data, Stack HDP 2.4 is not found in Ambari metainfo" This is when I set the repositories base url to our own internal repo: http://<internal_URL>:8080/repos/hortonworks/HDP/centos7/2.x/updates/126.96.36.199 FYI, I have confirmed that the above repo works. I understand I am getting the above exception because the info isn't there in the metainfo file. When I log on to the Ambari UI, I see the following stacks: Stacks
HDP 2.1 So I am trying to figure out if I am missing any steps after I do the ambari-server setup? Is my base URL wrong or have I missed changing any config file? I don't know where is it getting the previous versions of HDP. I can see them in the metainfo file under /var/lib/ but why are there previous versions of HDP present there. This is the repo file setup for me. #VERSION_NUMBER=188.8.131.52-1310
name=ambari-184.108.40.206 - Updates
name=HDP Version - HDP-220.127.116.11
name=HDP Utils Version - HDP-UTILS-18.104.22.168
priority=1 I would be really grateful If anyone can point me to documentation which explains how I can setup a stack after I complete the Ambari server setup. I have seen the wiki (https://cwiki.apache.org/confluence/display/AMBARI/How-To+Define+Stacks+and+Services). There is nothing there that explains on how I can setup an HDP 2.4 Stack. Thank you!
... View more