Created 09-15-2016 01:23 PM
I installed the HDF 2.0 management pack on HDP 2.5 ambari server and after restart it dies. Is there a different pack for 2.5?
2016-09-15 13:18:31,098 INFO - ******************************* Check database started ******************************* 2016-09-15 13:18:35,606 INFO - Checking for configs not mapped to any cluster 2016-09-15 13:18:35,630 INFO - Checking for configs selected more than once 2016-09-15 13:18:35,633 INFO - Checking for hosts without state 2016-09-15 13:18:35,634 INFO - Checking host component states count equals host component desired states count 2016-09-15 13:18:35,637 INFO - Checking services and their configs 2016-09-15 13:18:37,207 ERROR - Exception occurred during complex service check procedure: org.apache.ambari.server.ParentObjectNotFoundException: Parent Stack Version resource doesn't exist. Stack data, Stack HDP 2.5 is not found in Ambari metainfo. Stack data, Stack HDP 2.5 is not found in Ambari metainfo at org.apache.ambari.server.api.services.AmbariMetaInfo.getServices(AmbariMetaInfo.java:520) at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkServiceConfigs(DatabaseConsistencyCheckHelper.java:540) at org.apache.ambari.server.checks.DatabaseConsistencyChecker.main(DatabaseConsistencyChecker.java:115) Caused by: org.apache.ambari.server.StackAccessException: Stack data, Stack HDP 2.5 is not found in Ambari metainfo at org.apache.ambari.server.api.services.AmbariMetaInfo.getStack(AmbariMetaInfo.java:618) at org.apache.ambari.server.api.services.AmbariMetaInfo.getServices(AmbariMetaInfo.java:518) ... 2 more 2016-09-15 13:18:37,212 INFO - ******************************* Check database completed ******************************* 2016-09-15 13:18:42,433 INFO - Checking DB store version 2016-09-15 13:18:43,193 INFO - DB store version is compatible
Created 09-15-2016 03:32 PM
HDF management pack is supported only as a standalone install (i.e. it is not supported for installing on an Ambari instance with a deployed HDP cluster). Ambari does not support deploying multiple clusters.
Created 09-15-2016 01:25 PM
15 Sep 2016 13:23:41,006 INFO [main] ClustersImpl:179 - Initializing the ClustersImpl 15 Sep 2016 13:23:41,100 WARN [Stack Version Loading Thread] LatestRepoCallable:237 - Could not load version definition for HDF-2.0 identified by http://public-repo-1.hortonworks.com/HDF/centos7/2.x/BUILDS/2.0.0.0-579/HDF-2.0.0.0-579.xml. http://public-repo-1.hortonworks.com/HDF/centos7/2.x/BUILDS/2.0.0.0-579/HDF-2.0.0.0-579.xml java.io.FileNotFoundException: http://public-repo-1.hortonworks.com/HDF/centos7/2.x/BUILDS/2.0.0.0-579/HDF-2.0.0.0-579.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at java.net.URL.openStream(URL.java:1045) at org.apache.ambari.server.state.repository.VersionDefinitionXml.load(VersionDefinitionXml.java:298) at org.apache.ambari.server.state.stack.LatestRepoCallable.mergeDefinitions(LatestRepoCallable.java:233) at org.apache.ambari.server.state.stack.LatestRepoCallable.call(LatestRepoCallable.java:176) at org.apache.ambari.server.state.stack.LatestRepoCallable.call(LatestRepoCallable.java:47) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Created 09-15-2016 01:33 PM
ambari-server install-mpack --purge --verbose --mpack=http://public-repo-1.hortonworks.com/HDF/centos7/2.x/updates/2.0.0.0/tars/hdf_ambari_mp/hdf-ambari-mpack-2.0.0.0-579.tar.gz on Centos 7.2
Created 09-15-2016 03:32 PM
HDF management pack is supported only as a standalone install (i.e. it is not supported for installing on an Ambari instance with a deployed HDP cluster). Ambari does not support deploying multiple clusters.
Created 09-15-2016 03:33 PM
The --purge flag when installing the HDF mpack will purge the HDP stack definition.
Created 09-15-2016 03:52 PM
can i delete an mpack? will purge do that
Created 09-19-2016 09:56 PM
The command `ambari-server install-mpack --mpack=/path/to/mpack/tar.gz --purge` sounds fairly benign (i.e. you're installing a management pack), and yet the consequences are serious. In this case, the `--purge` flag means "delete all the service definitions for my existing HDP cluster".
Created 09-21-2016 06:48 AM
Got the same issue while following the instructions on below link:
Is there a fix to revert back the change? i am not able to start ambari server
Created 09-21-2016 01:54 PM
once you add that management pack to your ambari, you have to delete your ambari setup. Go back to a previous backup or uninstall and delete everything and reinstall.
You have to keep these two clusters separate