question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ambari 2.7 and HDP 3.0 - Stack HDP 3.0 is not found in Ambari metainfo

See original GitHub issue

Here are my initial values:

cluster_name: 'hdp3'
ambari_version: '2.7.0.0'                                 # must be the 4-part full version number
hdp_version: '3.0.0.0'                                    # must be the 4-part full version number
hdp_build_number: '1634'                                  # the HDP build number from docs.hortonworks.com (if set to 'auto', Ansible will try to get it from the repository)

Here is the error message:

An internal system exception occurred: Stack data, Stack HDP 3.0 is not found in Ambari metainfo

It fails on this task: TASK [ambari-config : Register the VDF with Ambari (Ambari >= 2.6)] ************

I see Ambari 2.6.2.2 is installed This worked some weeks ago, did I miss something?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexandruanghelcommented, Sep 24, 2018

@markokole not sure I understand, if you use --extra-vars you’ll override any variable so you have to use the same --extra-vars everywhere. Or better, use the install_cluster script rather than the individual scripts. The --extra-vars option should be used very rarely (when testing something for example or to override a simple variable) and you should only rely on group_vars/all for everything else and maintain it. Some configs depend on one another and only group_vars/all will offer the full picture of what is installed and should be running (I’m using here the “One Mona Lisa” principle as recommended by Ansible).

@lhoss I’ll update the versions later today as I’m testing some combinations. I was waiting for the first maintenance release to upgrade more defaults (for example if the default hdp version change then the default blueprint_dynamic variable will also need to change).

And yes, please do create issues and share ideas as I can’t be aware of how people are using this 😃

0reactions
lhosscommented, Sep 25, 2018

What build_number did you specify for 3.0.1? Im asking this because for 3.0.0 I had to write 1634 for HDP build_number.

@markokole In fact I used the defaults:

hdp_build_number: 'auto'                                  # the HDP build number from docs.hortonworks.com (if set to 'auto', Ansible will try to get it from the repository)
hdf_build_number: 'auto'                                

This worked for me for both HDP versions: 3.0.1.0 and 3.0.0.0 ! Actually I just saw the latest commit in master, using the latest versions: https://github.com/hortonworks/ansible-hortonworks/commit/9bf56742650e03e7762bbe559d497bbbeba89529 and also still the default build_numbers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade HDP 3.0.1.0 to HDP 3.1.0: Error in Reading Version ...
An internal system exception occurred : Stack data, Stack HDP 3.1 is not found in Ambari metainfo". What am I doing wrong ?...
Read more >
subject:"install HDP3.0 using ambari" - The Mail Archive
Ambari 2.7 cannot create ranger repositories for components such as hdfs. ... Stack >>> HDP 3.0 is not found in Ambari metainfo" >>>...
Read more >
How-To Define Stacks and Services
Services managed by Ambari are defined in its stacks folder. To define your own services and stacks to be managed by Ambari, ...
Read more >
ERROR: "Failed to create a default repository version ... - Search
Failed to create a default repository version definition for stack HDP-2.6. This typically is a result of not loading the stack correctly or ......
Read more >
Ambari UI not showing versions in cluster installation
When you are building ambari 2.7.5 from source, you need to feed it a stack. HDP was one of them, that is no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found