Acceldata Open Source Data Platform
ODP 3.2.2.0-2
Release Notes
What is ODP
Installation
Advanced Installation
Configuration and Management
Upgrade
USER GUIDES
Security
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Working with Management Packs
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Management packs allow you to deploy a range of services to your Ambari-managed cluster. You can use a management pack to deploy a specific component or service.
Accessing ODP Repositories
The ODP mpacks can be accessed via the links listed below :
| Component | Version | Tar/zip file |
|---|---|---|
| Hue | 4.10.0.3.2.2.0-1 | |
| Impala | 4.1.2.3.2.2.0-1 | |
| Nifi | 1.23.2.3.2.2.0-1 | |
| Spark3 | 3.2.2.3.2.2.0-1 |
Installing Management Pack
In general, when working on installing management packs, perform the following steps :
- Download Mpack file.
- Install the management pack using
ambari-server install-mpack --mpack=[service_mpack.gz] --verbose.
Incase the following error occurs, uninstall the mpack file and perform the given steps:
Bash
... (mpack_metadata, mpack_name, mpack_version, mpack_staging_dir, mpack_archive_path) = _install_mpack(options, replay_mode) File "/usr/lib/ambari-server/lib/ambari_server/setupMpacks.py", line 798, in _install_mpack process_stack_addon_service_definitions_artifact(artifact, artifact_source_dir, options) File "/usr/lib/ambari-server/lib/ambari_server/setupMpacks.py", line 557, in process_stack_addon_service_definitions_artifact sudo.symlink(source_service_version_path, dest_link) File "/usr/lib/ambari-server/lib/resource_management/core/sudo.py", line 130, in symlink os.symlink(source, link_name)OSError: [Errno 17] File existsBash
x
#Commands with spark3 mpack as example. Replace spark3 with service that you are installing.#Uninstall ambari mpackambari-server uninstall-mpack --mpack-name=[service_mpack.gz]#Remove files with mpack and symlinks.rm -rf /var/lib/ambari-server/data/tmp/ambari-mpacks-spark3-3.2.2.3.2.2.0-2/ /var/lib/ambari-server/resources/stacks/ODP/3.0/services/SPARK3 /var/lib/ambari-server/resources/stacks/ODP/3.1/services/SPARK3 /var/lib/ambari-server/resources/common-services/SPARK3 /var/lib/ambari-agent/cache/stacks/ODP/3.0/services/SPARK3 /var/lib/ambari-agent/cache/stacks/ODP/3.1/services/SPARK3 /var/lib/ambari-agent/cache/common-services/SPARK3 /var/lib/ambari-agent/cache/stacks/ODP/3.2/services/SPARK3#Re-install ambari mpackambari-server install-mpack --mpack=[service_mpack.gz] --verbose#Remove and create service symlink directorycd /var/lib/ambari-server/resources/stacks/ODP/3.0/services/rm -f SPARK3ln -s /var/lib/ambari-server/resources/mpacks/spark3-ambari-3.2.2-3.2.2.0-2.mpack-3.2.2/common-services/SPARK3/3.2.2 SPARK3#Remove and create service symlink directorycd ../../3.1/services/rm -f SPARK3ln -s /var/lib/ambari-server/resources/mpacks/spark3-ambari-3.2.2-3.2.2.0-2.mpack-3.2.2/common-services/SPARK3/3.2.2 SPARK3Bash
#Sample output for successful mpack installation is shown below.INFO: Management pack spark3-ambari-3.2.2-3.2.2.0-2.mpack-3.2.2 successfully installed! Please restart ambari-server.INFO: Loading properties from /etc/ambari-server/conf/ambari.propertiesAmbari Server 'install-mpack' completed successfully.- Restart the Ambari Server
ambari-server restart. - Add service from Ambari UI.
- Select host(s) for respective component(s).
- Start all stopped or required services.
Uninstalling Management Pack
To uninstall ambari mpack, perform the following steps:
- Login to Ambari service UI and go to respective service section.
- Stop respective service and delete permanently.
- Uninstall the service from CLI using
ambari-server uninstall-mpack --mpack-name=[service_mpack.gz]. - Restart the Ambari Server
ambari-server restart.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Apr 10, 2024
Was this page helpful?
Next to read:
Installing Ambari Agents ManuallyDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message