Also available as:
loading table of contents...

Installing HCP Ambari Management Pack

The HCP Ambari management pack bundles service definitions, stack definitions, and stack add-on service definitions so they do not need to be included with the Ambari core functionality and can be updated in between major releases. The HCP management pack includes Metron, plus the parser topologies, indexing topologies, and enrichment topologies. HCP also provides a management pack extension that simplifies the provisioning, management, and monitoring of Elasticsearch and Kibana.

  1. Download the HCP management pack tar file from the HCP repo location:

    The following example uses CentOS 7.

    wget -nv

    You can find the management pack repositories for each of the operating systems supported by HCP at


    When installing Elasticsearch with the HCP management pack on Ubuntu, you must manually install the Elasticsearch repositories. You also do not need to download and install the elasticsearch_mpack.

  2. Install the HCP management pack:

    ambari-server install-mpack --mpack=/${MPACK_DOWNLOAD_DIRECTORY}/hcp-ambari-mpack- --verbose

    You should see a message saying that the management packs completed successfully.

  3. If you are using Apache Solr, install it using the Ambari HDP Search management pack.


    Ensure the Java threat stack size parameter is set to greater than 320kb. The default setting for SOLR_JAVA_STACK_SIZE is not sufficient to start the Solr service.

    1. Install Solr.

      Refer to the Solr documentation for installation instructions.

    2. Install the Ambari HDP Search Management pack.

      For instructions on downloading and using the Ambari HDP Search management pack, see Apache Solr Search Installation.

    3. In Ambari, navigate to the Metron Indexing tab.

    4. Append /solr to the end of the ZooKeeper url.

    5. Copy the Metron schema files located at $METRON_HOME/config/schema to the Solr node.

    6. Copy the $METRON_HOME/bin/ script to the Solr node.

    7. Use the script to create the required Solr collections:

    8. Stop and restart Solr.