Working with Management Packs
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:
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
.
#Install Ambari mpack
ambari-server install-mpack --mpack=[service_mpack.gz] --verbose
- 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]
.
#Uninstall Ambari mpack
ambari-server uninstall-mpack --mpack-name=[service_mpack.gz]
- Restart the Ambari Server
ambari-server restart
.
Hue
Install Hue with Ambari using the following management pack created by Acceldata for ODP clusters.
Component(s) | Component Version | ODP Stack Version |
---|---|---|
Apache Ambari | 2.7.8.x | 3.2.3.3-3 |
Apache Hue | 4.11.0 | 3.2.3.3-3 |
- Version Key: hue-4.11.0.3.2.2.0-2.tar.gz - Hue-4.11.0 mpack, compatible with ODP 3.2.3.3-3 release.
- Usage Notes: Minimal installation requires Ambari, HDFS, Hive, Tez, Yarn, and Zookeeper.
Install Hue Mpack
To install Ambari Hue Mpack, perform the following:
- Download the branch from the code and zip with tar.gz extension.
- Upload the gzipped file to the ambari-server.
- Execute the below command for installation:
ambari-server install-mpack --mpack=ambari-mpacks-hue-4.11.0.tar.gz --verbose
ambari-server restart
- Login to the Ambari UI and navigate to Add Hue service.
- Select the hosts for Hue Server components.
- Start all stopped or required services.
Hue Custom Database
To create a Hue custom database, perform the following:
- Get the database details.
- Create the Hue database and configure the Hue user along with your own password.
Example Using Hue with MySQL
- Create a new user in MySQL:
- Log in to MySQL as the root user:
mysql -u root -p
- Create a new database for Hue:
CREATE DATABASE hue;
- Create a new user for Hue:
CREATE USER $HUEUSER IDENTIFIED BY '$HUEPASSWORD';
- Grant all privileges to the new user on all databases:
GRANT ALL PRIVILEGES ON *.* TO '$HUEUSER'@'localhost' WITH GRANT OPTION;
GRANT ALL ON $HUEUSER.* TO '$HUEUSER'@'localhost' IDENTIFIED BY '$HUEPASSWORD';
GRANT ALL ON $HUEUSER.* TO '$HUEUSER'@'%' IDENTIFIED BY '$HUEPASSWORD';
- Flush privileges to apply changes:
FLUSH PRIVILEGES;
$HUEUSER
with the desired Hue username and $HUEPASSWORD
with the desired Hue user password.
Configure Hue Mpack
The Impala and HDFS services can be automatically configured by the Hue mpack. To enable auto-configuration for these services, ensure their respective service modules are enabled in the Ambari UI.

The Impala module appears on the Hue Service Module only if it's installed on the cluster.
If the modules are not enabled, the auto-configuration does not occur. You may still manually configure the services, if preferred.
If additional configurations are needed for any of these services, their configuration templates are exposed in the Ambari UI under ‘Advanced services
’. These configuration files can be found in /etc/hue/conf
as hdfs.ini
and impala.ini
if their respective service is enabled.

Uninstall Hue Mpack
To uninstall Ambari Hue Mpack, perform the following steps:
Login to Ambari Service and Navigate to Hue Section:
- Access the Ambari service web interface.
- Navigate to the Hue section in the Ambari dashboard.
Stop the Hue Service and Delete Permanently:
- Locate the option to stop the Hue service in the Ambari dashboard.
- Stop the Hue service and confirm the action.
- Delete the Hue service permanently from the Ambari dashboard.
Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Hue Mpack:
ambari-server uninstall-mpack --mpack-name=hue-ambari.mpack
Replace hue-ambari.mpack
with the actual name of the Hue Mpack if it differs.
- Restart the Ambari Server:
- After uninstalling the Hue Mpack, restart the Ambari server to apply the changes.
ambari-server restart
These steps will uninstall the Ambari Hue Mpack from your Ambari service.
Troubleshooting Steps for Hue Known Issues
Issue 1: If you see the following error message in the Hue logs, set the configuration mentioned in the solution proposed below.
File "/usr/lib/python3.11/tempfile.py", line 396, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/usr/lib/hue/desktop/conf/wgunicorn-9zlljl_m'
Solution: Uncomment and set the following config as shown in Advanced hue.ini.
# Webserver runs as this user
server_user=hue
server_group=hadoop
Issue 2: Unable to find the mysql-devel package for Hue in RHEL 9.
File "/usr/lib/ambari-agent/lib/ambaricommons/shell.py", line 750, in repository manager_executor raise RuntimeError(message) RuntimeError: Failed to execute command '/usr/bin/yum -y install mysql-devel', exited with code '1', message: 'Error: Unable to find a match: mysql-devel '
Solution: Enable the CRB repository on the node where Hue is installed to fulfill the mysql-devel requirement, as it is provided by this repository.
sudo dnf config-manager --set-enabled crb
Troubleshooting Hue KT Renewer Kerberos Issue
If you come across the following error message in Hue, there are chances that the max_renewable_life
and max_life
properties will be missing. Make sure to add these properties to the configuration file.
[17/Mar/2025 10:46:54 +0000] decorators INFO AXES: blocking by IP only.
[17/Mar/2025 10:46:55 +0000] __init__ INFO Couldn't import snappy. Support for snappy compression disabled.
[17/Mar/2025 10:46:55 +0000] kt_renewer INFO Reinitting kerberos retry attempt 0 from keytab /usr/bin/kinit -k -t /etc/security/keytabs/hue.headless.keytab -c /tmp/krb5cc_1028 hue-ub22-32332@ADSRE.COM
[17/Mar/2025 10:46:56 +0000] kt_renewer INFO Renewing kerberos ticket to work around kerberos 1.8.1: /usr/bin/kinit -R -c /tmp/krb5cc_1028
kinit: KDC can't fulfill requested option while renewing credentials
[17/Mar/2025 10:46:56 +0000] kt_renewer ERROR Couldn't renew kerberos ticket in order to work around Kerberos 1.8.1 issue. Please check that the ticket for 'hue-ub22-32332@ADSRE.COM' is still renewable:
$ klist -f -c /tmp/krb5cc_1028
If the 'renew until' date is the same as the 'valid starting' date, the ticket cannot be renewed. Please check your KDC configuration, and the ticket renewal policy (maxrenewlife) for the 'hue-ub22-32332@ADSRE.COM' and `krbtgt' principals.
For CentOS/RHEL:
- On the KDC host, add the
max_renewable_life
andmax_life
properties in the configuration file.
[root@ce7-f1-node01 ~]# cat /var/kerberos/krb5kdc/kdc.conf
[realms]
ADSRE.COM = {
database_name = /var/kerberos/krb5kdc/principal
acl_file = /var/kerberos/krb5kdc/kadm5.acl
supported_enctypes = aes256-cts-hmac-sha1-96:normal aes128-cts-hmac-sha1-96:normal des3-cbc-sha1:normal des-cbc-md5:normal arcfour-hmac-md5:normal
max_renewable_life = 7d 0h 0m 0s ## add
max_life = 12h 0m 0s ## add
}
- Once added and saved, restart KDC and KAdmin (use the following commands) and regenerate keytabs followed by restarting the Hue service from the Ambari UI.
sudo systemctl restart krb5kdc
sudo systemctl restart kadmin
For Ubuntu:
- On the KDC host, add the
max_renewable_life
andmax_life
properties in the configuration file.
root@ub22-f1-node01:~# cat /etc/krb5kdc/kdc.conf
[realms]
ADSRE.COM = {
database_name = /var/lib/krb5kdc/principal
acl_file = /etc/krb5kdc/kadm5.acl
max_renewable_life = 7d 0h 0m 0s ## add
max_life = 12h 0m 0s ## add
}
- Once added and saved, restart KDC and KAdmin (use the following commands) and regenerate keytabs followed by restarting the Hue service from the Ambari UI.
sudo systemctl restart krb5-kdc
sudo systemctl restart krb5-admin-server
In addition to the KDC configuration changes, make sure to run these commands on the Kerberos Key Distribution Center (KDC) using the kadmin.local
or kadmin
command-line interface:
# Allow renewable tickets for hue principal
modprinc -maxrenewlife "90 days" +allow_renewable <principal-name>@<REALM>
# Set renewal policy for the realm's Ticket Granting Ticket (TGT)
modprinc -maxrenewlife "90 days" krbtgt/<REALM>
eg
modprinc -maxrenewlife "90 days" +allow_renewable hue@ADSRE.COM
modprinc -maxrenewlife "90 days" krbtgt/ADSRE.COM
The KT_Renewer is triggered only when the properties under [[kerberos]] in the hue.ini configuration in Ambari are properly filled with details either manually or using the latest Mpack, which auto-populates the properties.
Impala
Install Impala with Ambari using the following management pack created by Acceldata for ODP clusters.
Component(s) | Component Version | ODP Stack Version |
---|---|---|
Apache Ambari | 2.7.8.x | 3.2.3.3-3 |
Apache Impala | 4.4.0 | 3.2.3.3-3 |
Install Impala Mpack
To install Impala Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-impala-4.4.0.tar.gz -v
- Restart the Ambari server:
ambari-server restart
- Log into the Ambari UI and navigate to Add Impala service.
- Select hosts for the Catalog and Statestore components.
- Choose daemons from the host list and proceed with service deployment to complete the installation.
- Start any stopped or required services to finalize the installation.
Uninstall Impala Mpack
To uninstall Ambari Impala Mpack, perform the following:
Log in to Ambari Service and Navigate to Impala Section:
- Access the Ambari service web interface.
- Navigate to the Impala section in the Ambari dashboard.
Stop the Impala Service and Delete Permanently:
- Locate the option to stop the Impala service in the Ambari dashboard.
- Stop the Impala service and confirm the action.
- Delete the Impala service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Impala Mpack:
ambari-server uninstall-mpack --mpack=ambari-impala-mpack -v
Replace ambari-impala-mpack
with the actual name of the Impala Mpack if it differs.
- Restart the Ambari Server:
- After uninstalling the Impala Mpack, restart the Ambari server to apply the changes:
ambari-server restart
These steps will uninstall the Ambari Impala Mpack from your Ambari service.
Impala Authorization
Impala supports the Ranger-based authorization. In the Ranger Service Manager, users can leverage the preloaded Hadoop SQL resource-based and tag-based services and policies to manage Impala access control. To ensure automatic population of service caches and policies, install the Hive Client on nodes hosting the Impala components. Additionally, configure and validate the Ranger Hadoop SQL service to enable the Impala user to download policies.

Troubleshooting Steps for Impala Known Issues
- Issue 1: Ranger Authorization Enablement
The file ranger-hive-security.xml is missing in all daemons except on Hive servers, leading to start failures. Additionally, if audit is enabled, the file ranger-hive-audit.xml is also unavailable.
F0214 14:55:06.908636 40022 frontend.cc:148] InternalException: Unable to instantiate authorization provider: org.apache.impala.authorization.ranger.RangerAuthorizationFactory
CAUSED BY: InvocationTargetException: null
CAUSED BY: IllegalArgumentException: bound must be positive
. Impalad exiting.
Solution
Copy the ranger-hive-security.xml and ranger-hive-audit.xml files from hive-servers to /etc/hive/conf/
as enabled with Ranger.
- Issue 2: Solr Audit Enablement
When Solr is enabled for Ranger audit, daemons fail to start on infra-solr-clients due to broken symlinks in the underlying impala-solr libraries.
Solution
To resolve the issue of broken symlinks for Solr in the impala-solr libraries, install ambari-infra-solr on all daemons.
- Issue 3: Missing Ranger Cache Policies
Missing cache policies on other launched daemons or Impala components.
2023-02-06T10:19:21,074 ERROR [main] org.apache.ranger.plugin.contextenricher.RangerTagEnricher$RangerTagRefresher - failed to save service-tags to cache file '/etc/ranger/adodp_hive/policycache/impala_adodp_hive_tag.json'
java.io.FileNotFoundException: /etc/ranger/adodp_hive/policycache/impala_adodp_hive_tag.json (No such file or directory)
at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_342]
at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_342]
Solution
Create Ranger policy cache directories under /etc/ranger/conf
and copy the policy cache files from the respective policy directories.
Accessing Impala Web UI Consoles
Each of the Impala daemons (impalad, statestored, and catalogd) includes a built-in web server that displays diagnostic and status information.
Catalogd WebUI Console
The catalogd Web UI includes information about the databases, tables, and other objects managed by Impala, in addition to the resource usage and configuration settings of the catalogd
. Because there is only a single instance of the catalogd
within any Impala cluster, you access the Web UI only on the particular host that serves as the Impala Catalog Server.
http://<catalog-host-name>:25020
Statesoted WebUI Console
The statestored Web UI includes information about memory usage, configuration settings, and ongoing health checks performed by statestored
. Because there is only a single instance of the statestored
within any Impala cluster, you can access the Web UI only on a particular host that serves as the Impala StateStore.
http://<Statestore-host-name>:25010
Impald WebUI Console
The impalad Web UI includes information about configuration settings, running and completed queries, and associated performance and resource usage for queries. In particular, the Details link for each query displays alternative views of the query including a graphical representation of the plan, and the output of the EXPLAIN
, SUMMARY
, and PROFILE
statements from impala-shell. Each host that runs the impalad daemon has its own instance of the Web UI, with details about those queries for which that host served as the coordinator. The impalad Web UI is primarily used for diagnosing query problems that can be traced to a particular node.
http://<Impalad-host-name>:25000
For more information about accessing the Impala Web interface, see Impala Web User Interface for Debugging.
NiFi
Install NiFi with Ambari using the following management pack created by Acceldata for ODP clusters.
Component(s) | Component Version | ODP Stack Version |
---|---|---|
Apache Ambari | 2.7.8.x | 3.2.3.3-3 |
Apache NiFi | 1.23.2 | 3.2.3.3-3 |
Apache NiFi-Registry | 1.23.2 | 3.2.3.3-3 |
Version Key
- nifi-1.23.2.tar.gz - Nifi-1.23.2 mpack
Usage Notes
- Minimal installation requires Ambari, HDFS, and Zookeeper.
Install NiFi Mpack
To install Ambari NiFi Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-nifi-1.23.2.tar.gz --verbose
- Restart the Ambari server:
ambari-server restart
- Log in to the Ambari UI and navigate to Add NiFi service.
- Select hosts for the NiFi components.
- Start any stopped or required services to finalize the installation.
Uninstall NiFi Mpack
To uninstall Ambari NiFi Mpack, perform the following steps:
Login to Ambari Service and Navigate to NiFi Section:
- Access the Ambari service web interface.
- Navigate to the NiFi section in the Ambari dashboard.
Stop the NiFi Service and Delete Permanently:
- Locate the option to stop the NiFi service in the Ambari dashboard.
- Stop the NiFi service and confirm the action.
- Delete the NiFi service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Impala Mpack:
ambari-server uninstall-mpack --mpack-name=nifi-ambari-mpack
- Restart the Ambari Server:
- After uninstalling the NiFi Mpack, restart the Ambari server to apply the changes:
ambari-server restart
These steps will uninstall the Ambari NiFi Mpack from your Ambari service.
Troubleshooting Steps for NiFi Known Issues
- Issue 1: User Group Management for Ambari 2.8 & ODP 3.x.
Solution
Run the following Python code before installing NiFi:
/var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n [CLUSTER_NAME] -l [CLUSTER_FQDN] -t 8080 -a set -c cluster-env -k ignore_groupsusers_create -v true
Replace the CLUSTER_NAME
and CLUSTER_FQDN
with the correct names.
Kafka 3
Install Kafka 3 with Ambari using this management pack created by Acceldata for ODP clusters.
Component | Component Version | ODP Version |
---|---|---|
Kafka 3 | 3.7.1 | 3.2.3.3-3 |
Install Kafka 3 Mpack
To install Ambari Kafka 3 Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack.
ambari-server install-mpack --mpack=ambari-mpacks-kafka3-3.7.1.tar.gz --verbose
After running above commands you can see this message.
INFO: Management pack kafka3-ambari-mpack-3.7.1 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
The Ambari server restarts.
#Restart Ambari server
ambari-server restart
- Log in to the Ambari UI and navigate to Add Kafka3 service.
- Select hosts for the Kafka 3 History Server and client components.
- Start any stopped or required services to finalise the installation.
Uninstall Kafka 3 Mpack
To uninstall the Ambari Kafka 3 Mpack, perform the following steps:
Log in to the Ambari service and navigate to the Kafka 3 section:
- Access the Ambari service web interface.
- Navigate to the Kafka 3 section in the Ambari dashboard.
Stop the Kafka 3 service and delete it permanently:
- Locate the option to stop the Kafka 3 service in the Ambari dashboard.
- Stop the Kafka 3 service and confirm the action.
- Delete the Kafka 3 service permanently from the Ambari dashboard.
Execute the Uninstallation command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Kafka 3 Mpack.
ambari-server uninstall-mpack --mpack-name=kafka3-ambari-mpack
- Restart the Ambari server:
- After uninstalling the Kafka 3 Mpack, restart the Ambari server to apply the changes.
These steps uninstall the Ambari Kafka 3 Mpack from your Ambari service.
Flink
Install Flink with Ambari using this management pack created by Acceldata for ODP clusters.
Component | Component Version | ODP Version |
---|---|---|
Flink | 1.19.1 | 3.2.3.3-3 |
Install Flink Mpack
To install Ambari Flink Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack.
ambari-server install-mpack --mpack=ambari-mpacks-flink-1.19.1.tar.gz --verbose
After running above commands you can see this message.
INFO: Management pack flink-ambari-mpack-1.19.1 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
The Ambari server restarts.
#Restart Ambari server
ambari-server restart
- Log into the Ambari UI and navigate to Add Flink service.
- Select hosts for the Flink History Server and client components.
- Start any stopped or required services to finalise the installation.
Uninstall Flink Mpack
To uninstall the Ambari Flink Mpack, perform the following steps:
Log in to the Ambari service and navigate to the Flink section:
- Access the Ambari service web interface.
- Navigate to the Flink section in the Ambari dashboard.
Stop the Flink service and delete it permanently:
- Locate the option to stop the Flink service in the Ambari dashboard.
- Stop the Flink service and confirm the action.
- Delete the Flink service permanently from the Ambari dashboard.
Execute the Uninstallation command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Flink Mpack.
ambari-server uninstall-mpack --mpack-name=flink-ambari-mpack
- Restart the Ambari server:
- After uninstalling the Flink Mpack, restart the Ambari server to apply the changes.
ambari-server restart
These steps uninstall the Ambari Flink Mpack from your Ambari service.
Spark 3
Install Spark3 with Ambari using this management pack created by Acceldata for ODP clusters.
Component(s) | Component Version | ODP Stack Version |
---|---|---|
Apache Ambari | 2.7.8.x | 3.2.3.3-3 |
Apache Spark 3 | 3.5.1 | 3.2.3.3-3 |
Version Key
- spark3_mpack-3.5.1.tar.gz - Spark3.5.1 mpack, compatible with ODP 3.2.3.3-3 release.
Usage Notes
- Minimal installation requires Ambari, HDFS, Hive, Tez, Yarn, and Zookeeper.
Install Spark 3 Mpack
To install Ambari Spark 3 Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-spark3-3.5.1.tar.gz --verbose
In case you find the following errors, run the following commands as mentioned:
(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 exists
ambari-server uninstall-mpack --mpack-name=spark3-ambari-3.5.1.mpack
rm -rf /var/lib/ambari-server/data/tmp/ambari-mpacks-spark3-3.5.1*/ /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 /var/lib/ambari-server/resources/stacks/ODP/3.2/services/SPARK3
Incase of the above failures, run the installation command:
ambari-server install-mpack --mpack=ambari-mpacks-spark3-3.5.1.tar.gz --verbose
cd /var/lib/ambari-server/resources/stacks/ODP/3.0/services/
rm -f SPARK3
ln -s /var/lib/ambari-server/resources/mpacks/spark3-ambari-3.5.1.mpack-3.5.1/common-services/SPARK3/3.5.1 SPARK3
cd ../../3.1/services/
rm -f SPARK3
ln -s /var/lib/ambari-server/resources/mpacks/spark3-ambari-3.5.1.mpack-3.5.1/common-services/SPARK3/3.5.1 SPARK3
ambari-server restart
After running the above commands, the following message is shown:
INFO: Management pack spark3-ambari-3.5.1.mpack-3.5.1 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
- Log in to the Ambari UI and navigate to Add Spark 3 service.
- Select hosts for the Spark thrift and client components.
- Start any stopped or required services to finalize the installation.
Uninstall Spark 3 Mpack
To uninstall Ambari Spark 3 Mpack, perform the following steps:
Login to Ambari Service and Navigate to Spark 3 Section:
- Access the Ambari service web interface.
- Navigate to the Spark 3 section in the Ambari dashboard.
Stop the Spark 3 Service and Delete Permanently:
- Locate the option to stop the Spark 3 service in the Ambari dashboard.
- Stop the Spark 3 service and confirm the action.
- Delete the Spark 3 service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Spark 3 Mpack:
ambari-server uninstall-mpack --mpack-name=spark3-ambari-3.5.1.mpack
- Restart the Ambari Server:
- After uninstalling the Spark 3 Mpack, restart the Ambari server to apply the changes:
ambari-server restart
These steps will uninstall the Ambari Spark 3 Mpack from your Ambari service.
Troubleshooting Steps for Spark 3 Known Issues
- Issue 1: Issue in User Group Management for Ambari 2.8 & ODP 3.x.
Solution
Run the following Python command before installing Spark 3:
/var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n [CLUSTER_NAME] -l [CLUSTER_FQDN] -t 8080 -a set -c cluster-env -k ignore_groupsusers_create -v true
Replace the [CLUSTER_NAME]
__and __[CLUSTER_FQDN]
in the command above with the correct names.
HttpFS
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
HttpFS | 2.7.1 | 3.2.3.3-3 |
Ambari HttpFS Service
This is a straightforward Ambari extension for the HttpFS HDFS service.
Supported Operating Systems: Any
Tested with Ambari Server 2.7.8.0.
Install HttpFS Mpack
To install Ambari HttpsFS Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-httpfs-2.7.1.tar.gz --verbose
- Restart the Ambari Service:
ambari-server restart
- Log in to the Ambari UI and navigate to Add HttpFS service.
- Select hosts for the HttpFs Server components.
- Start any stopped or required services to finalize the installation.
Uninstall HttpFS Mpack
To uninstall Ambari HttpFS Mpack, perform the following steps:
Login to Ambari Service and Navigate to HttpFS Section:
- Access the Ambari service web interface.
- Navigate to the HttpFS section in the Ambari dashboard.
Stop the HttpFS Service and Delete Permanently:
- Locate the option to stop the HttpFS service in the Ambari dashboard.
- Stop the HttpFS service and confirm the action.
- Delete the HttpFS service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the HttpFS Mpack:
ambari-server uninstall-mpack --mpack-name=httpfs-ambari-mpack
- Restart the Ambari Server:
- After uninstalling the HttpFS Mpack, restart the Ambari server to apply the changes:
ambari-server restart
These steps will uninstall the Ambari HttpFS Mpack from your Ambari service.
Troubleshooting Steps for HttpFS Known Issues
Issue 1 : Bug in User Group Management for Ambari 2.8 & ODP 3.x.
Solution
Run the following Python command before installing HttpFS:
/var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n [CLUSTER_NAME] -l [CLUSTER_FQDN] -t 8080 -a set -c cluster-env -k ignore_groupsusers_create -v true
Ensure the correct [CLUSTER_NAME]
and [CLUSTER_FQDN]
names are used.
License: Apache License version 2.0
Ozone
Install Ozone with Ambari using this management pack created by Acceldata.
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Ozone | 1.4.0 | 3.2.3.3-3 |
Version Key
- ozone-1.4.0.tar.gz - Ozone 1.4.0 mpack, compatible from ODP v3.2.3.0-2 release onwards
Usage Notes
- Minimal install required Ambari
- For Authentication integration it is compatible with Kerberos
- For Authorization integration it requires Ranger with auditing disabled due to performance issues in upstream.
Install Ozone Mpack
To install Ambari Ozone Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-ozone-1.4.0.tar.gz --verbose
After running the above commands, the following message is shown:
INFO: Management pack ozone-ambari-mpack-1.4.0 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
- Create Service Symlink directory:
cd /var/lib/ambari-server/resources/stacks/ODP/3.0/services/
rm -f OZONE
ln -s /var/lib/ambari-server/resources/mpacks/ozone-ambari.mpack-1.4.0/common-services/OZONE/1.4.0 OZONE
cd ../../3.1/services/
rm -f OZONE
ln -s /var/lib/ambari-server/resources/mpacks/ozone-ambari.mpack-1.4.0/common-services/OZONE/1.4.0 OZONE
cd ../../3.2/services/
rm -f OZONE
ln -s /var/lib/ambari-server/resources/mpacks/ozone-ambari.mpack-1.4.0/common-services/OZONE/1.4.0 OZONE
- Restart the Ambari service:
ambari-server restart
- Log in to the Ambari UI and navigate to add Ozone service.
- Select at least three hosts for the Ozone Manager, three hosts for Storage Container Manager, hosts for S3 gateway, host for Recon server, and at least three nodes for Data node.
- Configure Ozone as per your use case and deploy the service.
- Start any stopped or required services to finalize the installation.
Uninstall Ozone Mpack
To uninstall Ambari Ozone Mpack, perform the following steps:
Log in to Ambari Service and Navigate to Ozone Section:
- Access the Ambari service web interface.
- Navigate to the Ozone section in the Ambari dashboard.
Stop the Ozone Service and Delete Permanently:
- Locate the option to stop the Ozone service in the Ambari dashboard.
- Stop the Ozone service and confirm the action.
- Delete the Ozone service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Ozone Mpack:
ambari-server uninstall-mpack --mpack-name=ozone-ambari.mpack
- Restart the Ambari Server:
- After uninstalling the Ozone Mpack, restart the Ambari server to apply the changes:
ambari-server restart
Registry
Install Schema Registry with Ambari using this management pack created by Acceldata for ODP Clusters.
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Registry | 1.0.0 | 3.2.3.3-3 |
Version Key
- registry-1.0.0.tar.gz - Registry 1.0.0 mpack, compatible from ODP v3.2.3.1-2 release onwards.
Usage Notes
- Minimal installation requires Ambari.
- For authentication integration it is compatible with Knox, OAUTH2 and Kerberos.
- For authorization integration it requires Ranger and for audit enablement it requires HDFS.
Install Registry Mpack
To install Ambari Registry Mpack, perform the following steps:
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-registry-1.0.0.tar.gz --verbose
After running the above commands, the following message is shown:
INFO: Management pack registry-ambari-mpack-1.0.0 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
But it requires a few symlink changes before Ambari server restart:
cd /var/lib/ambari-server/resources/stacks/ODP/3.0/services/
rm -f REGISTRY
ln -s /var/lib/ambari-server/resources/mpacks/registry-ambari-mpack-1.0.0/common-services/REGISTRY/1.0.0 REGISTRY
cd ../../3.1/services/
rm -f REGISTRY
ln -s /var/lib/ambari-server/resources/mpacks/registry-ambari-mpack-1.0.0/common-services/REGISTRY/1.0.0 REGISTRY
cd ../../3.2/services/
rm -f REGISTRY
ln -s /var/lib/ambari-server/resources/mpacks/registry-ambari-mpack-1.0.0/common-services/REGISTRY/1.0.0 REGISTRY
ambari-server restart
- Log in to the Ambari UI and navigate to Add Registry service.
- Select hosts for the Registry Server components.
- Start any stopped or required services to finalize the installation.
Uninstall Registry Mpack
To uninstall Ambari Schema Registry Mpack, perform the following steps:
Login to Ambari Service and Navigate to Schema Registry Section:
- Access the Ambari service web interface.
- Navigate to the Registry section in the Ambari dashboard.
Stop the Registry Service and Delete Permanently:
- Locate the option to stop the Registry service in the Ambari dashboard.
- Stop the Registry service and confirm the action.
- Delete the Registry service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Registry Mpack:
ambari-server uninstall-mpack --mpack-name=registry-ambari-mpack
- Restart the Ambari Server:
- After uninstalling the Registry Mpack, restart the Ambari server to apply the changes:
ambari-server restart
These steps will uninstall the Registry Mpack from your Ambari service.
Airflow
Install Apache Airflow with Ambari using this management pack created by Acceldata for ODP clusters.
Version Key
- Apache Airflow 2.8.1 - Apache Airflow 1.0.0 mpack, compatible from ODP v3.3.0 release onwards.
Usage Notes
- Minimal installation requires Ambari.
- For Authentication integration it is compatible with LDAP and Kerberos
Install Apache Airflow Mpack
To install Airflow Mpack, perform the following steps:
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Airflow | 2.8.1 | 3.2.3.3-3 |
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-airflow-2.8.1.tar.gz --verbose
After running the above command, the following message is shown:
INFO: Management pack airflow-ambari-mpack-2.8.1 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
Change Simlinks before restarting the Ambari Server:
cd /var/lib/ambari-server/resources/stacks/ODP/3.0/services
unlink AIRFLOW
ln -s /var/lib/ambari-server/resources/mpacks/airflow-ambari-mpack-2.8.1/common-services/AIRFLOW/2.8.1 AIRFLOW
cd /var/lib/ambari-server/resources/stacks/ODP/3.1/services
unlink AIRFLOW
ln -s /var/lib/ambari-server/resources/mpacks/airflow-ambari-mpack-2.8.1/common-services/AIRFLOW/2.8.1 AIRFLOW
cd /var/lib/ambari-server/resources/stacks/ODP/3.2/services
unlink AIRFLOW
ln -s /var/lib/ambari-server/resources/mpacks/airflow-ambari-mpack-2.8.1/common-services/AIRFLOW/2.8.1 AIRFLOW
ambari-server restart
- Log in to the Ambari UI and navigate to Add Apache Airflow service.
- Select hosts for the Apache Airflow server components.
- Start any stopped or required services to finalize the installation.
For detailed steps about installing Airflow, see Airflow.
Uninstall Ambari Airflow Mpack
To uninstall Ambari Airflow Mpack, perform the following steps:
Login to Ambari Service and Navigate to Apache Airflow Section:
- Access the Ambari service web interface.
- Navigate to the Apache Airflow section in the Ambari dashboard.
Stop the Apache Airflow Servers and Delete Permanently:
- Locate the option to stop the Apache Airflow service in the Ambari dashboard.
- Stop the Airflow service and confirm the action.
- Delete the Airflow service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the Apache Airflow Mpack:
ambari-server uninstall-mpack --mpack-name=airflow-ambari-mpack
- Restart the Ambari Server:
- After uninstalling the Airflow Mpack, restart the Ambari server to apply the changes:
ambari-server restart
JupyterHub
Install the JupyterHub with Ambari using this management pack created by Acceldata for ODP clusters.
Version Key
- Jupyterhub 5.2.1 - Jupyterhub 5.2.1 mpack, compatible from ODP v3.2.3.3-3 release onwards.
Usage Notes
- Minimal installation requires Ambari.
- For Authentication integration it is compatible with LDAP and Kerberos
Install the JupyterHub Mpack
To install the JupyterHub Mpack, perform the following steps:
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
JupyterHub | 5.2.1 | 3.2.3.3-3 |
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-jupyterhub-5.2.1.3.2.3.3-3.tar.gz --verbose
After running the above command, the following message is shown:
INFO: Management pack jupyter-ambari-mpack-5.2.1 successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
- Log into the Ambari UI and navigate to add the JupyterHub service.
- Select hosts for the JupyterHub server components.
- Start any stopped or required services to finalize the installation.
For detailed steps about installing JupyterHub, see Jupyterhub.
Uninstall Ambari JupyterHub Mpack
To uninstall JupyterHub Mpack, perform the following steps:
Login to Ambari Service and Navigate to JupyterHub Section:
- Access the Ambari service web interface.
- Navigate to the JupyterHub section in the Ambari dashboard.
Stop the Apache JupyterHub Servers and Delete Permanently:
- Locate the option to stop the JupyterHub service in the Ambari dashboard.
- Stop the JupyterHub service and confirm the action.
- Delete the JupyterHub service permanently from the Ambari dashboard.
Execute Uninstallation Command:
- Open a terminal or command prompt on the Ambari server.
- Run the following command to uninstall the JupyterHub Mpack:
ambari-server uninstall-mpack --mpack-name=jupyter-ambari-mpack
- Restart the Ambari Server:
- After uninstalling the JupyterHub Mpack, restart the Ambari server to apply the changes:
ambari-server restart
Isilon OneFS
README for Isilon Ambari Management Pack 1.0.3.0 for OneFS
The Isilon Ambari Management Pack for OneFS is a software component that integrates OneFS as a service into a Hadoop cluster via Ambari. This management pack allows an Ambari administrator to manage OneFS as a HDFS storage service, providing native namenode and datanode capabilities similar to traditional HDFS. The management pack is OneFS release-independent and can be updated between releases if necessary.
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Isilon OneFS | 1.0.3.0 | 3.2.3.3-3 |
Prerequisites
This management pack is compatible with the following OneFS versions:
- OneFS 8.1.2
- OneFS 8.2.0
- OneFS 8.2.1
- OneFS 8.2.2
- OneFS 9.0.0
Install OneFS Mpack
To install the Isilon management pack, perform the following steps:
- Run the installation command:
ambari-server install-mpack --mpack=ambari-mpacks-isilon-onefs-1.0.3.0.tar.gz --verbose
- Update the symbolic links for the OneFS service:
cd /var/lib/ambari-server/resources/stacks/ODP/3.0/services/
rm -f ONEFS
ln -s /var/lib/ambari-server/resources/mpacks/onefs-ambari-mpack-1.0.3.0/common-services/ONEFS/1.0.0/ ONEFS
cd ../../3.1/services/
rm -f ONEFS
ln -s /var/lib/ambari-server/resources/mpacks/onefs-ambari-mpack-1.0.3.0/common-services/ONEFS/1.0.0/ ONEFS
cd ../../3.2/services/
rm -f ONEFS
ln -s /var/lib/ambari-server/resources/mpacks/onefs-ambari-mpack-1.0.3.0/common-services/ONEFS/1.0.0/ ONEFS
- Restart the Ambari Server:
ambari-server restart
After running the above commands, you will see the following message:
INFO: Management pack onefs-ambari-mpack successfully installed! Please restart ambari-server.
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Ambari Server 'install-mpack' completed successfully.
To uninstall the management pack, run the following command:
ambari-server uninstall-mpack --mpack-name=onefs-ambari-mpack
Then, remove the following directories:
rm -rf /var/lib/ambari-server/data/tmp/isilon-onefs-mpack*/ /var/lib/ambari-server/resources/stacks/ODP/3.0/services/ONEFS /var/lib/ambari-server/resources/stacks/ODP/3.1/services/ONEFS /var/lib/ambari-server/resources/common-services/ONEFS /var/lib/ambari-agent/cache/stacks/ODP/3.0/services/ONEFS /var/lib/ambari-agent/cache/stacks/ODP/3.1/services/ONEFS /var/lib/ambari-agent/cache/common-services/ONEFS /var/lib/ambari-agent/cache/stacks/ODP/3.2/services/ONEFS
- A performance issue with OneFS and Ambari has been identified when Apache HBase is configured. Setting the
hbase.wal.provider
value tofilesystem
resolves this issue. - When installing the 1.0.3.0 Ambari Management Pack on a Hadoop cluster with a new deployment of ODP, the
hbase.wal.provider
value will be automatically set tofilesystem
. - If the Hadoop cluster already has Ambari and HBase configured, the
hbase.wal.provider
value must be manually configured in the Ambari UI. Follow these steps to configure it:- Log in to the Ambari UI.
- Click the 'HBase' service in the left panel, then click the Configs tab, and finally click the Advanced tab.
- In the Custom hbase-site section, look for the
hbase.wal.provider
key. If it does not exist, add it by clicking Add Property. - Enter the following in the Properties field:
hbase.wal.provider=filesystem
- Click ADD and then Save to save the configuration. Restart Ambari if prompted to apply the setting.
- Setting the
hbase.wal.provider
value tofilesystem
in the Ambari UI resolves the performance issue. - The OneFS Release Notes can be found on the customer support site: Support for PowerScale OneFS | Overview | Dell US
- The following documents, available on the customer support site, provide instructions for downloading and installing the Ambari Management Pack for Isilon OneFS:
Upgrade Isilon Mpack
Run the following commands to upgrade to Isilon Ambari Management Pack 1.0.3.0 and then to restart the Ambari server:
ambari-server upgrade-mpack --mpack=
ambari-server restart
Kudu
Install Kudu with Ambari using this management pack created by Acceldata for ODP clusters.
Install Kudu Mpack
To install Kudu Mpack, perform the following steps:
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Kudu | 1.17.0 | 3.2.3.3-3 |
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-kudu-1.17.0.tar.gz --verbose
- Log on to the Ambari UI and add the Kudu service.
- Select the hosts for Kudu Masters and Tablet Servers. You must select at least one of each, with up to a recommendation of up to 100 tablet servers. You must select an odd number for a minimum of 3 master servers.
Unistall Kudu Mpack
To uninstall Ambari Kudu Mpack, perform the following steps:
- Log in to the Ambari UI and navigate to the Kudu section.
- Stop the Kudu service, then delete the service.
- Run the following command to remove the Kudu mpack.
ambari-server uninstall-mpack --mpack=kudu-ambari-mpack
- Restart the Ambari Server to apply the changes.
ambari-server restart
Pinot
Install Pinot with Ambari using this management pack created by Acceldata for ODP clusters.
Install Pinot Mpack
To install Pinot Mpack, perform the following steps:
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Pinot | 1.3.0 | 3.2.3.3-3 |
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-pinot-1.3.0.tar.gz --verbose
- Log into the Ambari UI and add the Pinot service.
- Select the hosts for Pinot Masters, Servers, Brokers, and Minions.
Uninstall Pinot Mpack
To uninstall Ambari Pinot Mpack, perform the following steps:
- Log into the Ambari UI and navigate to the Pinot section.
- Stop the Pinot service, then delete the service.
- Run the following command to remove the Pinot mpack.
ambari-server uninstall-mpack --mpack=pinot-ambari-mpack
- Restart the Ambari Server to apply the changes.
ambari-server restart
Trino
Install Trino with Ambari using this management pack created by Acceldata for ODP clusters.
Install Trino Mpack
To install Trino Mpack, perform the following steps:
Component Version | ODP Stack Version | |
---|---|---|
Apache | Ambari 2.7.8.x | 3.2.3.3-3 |
Trino | 472 | 3.2.3.3-3 |
- Download the branch from the code repository and compress it into a tar.gz file.
- Upload the compressed file to the Ambari server.
- Execute the following command to install the Mpack:
ambari-server install-mpack --mpack=ambari-mpacks-trino-472.tar.gz --verbose
- Log into the Ambari UI and add the Trino service.
- Select the hosts for Trino Masters, Servers, Brokers, and Minions.
Uninstall Trino Mpack
To uninstall Ambari Trino Mpack, perform the following steps:
- Log into the Ambari UI and navigate to the Trino section.
- Stop the Trino service, then delete the service.
- Run the following command to remove the Trino mpack.
ambari-server uninstall-mpack --mpack=trino-ambari-mpack
- Restart the Ambari Server to apply the changes.
ambari-server restart