Title
Create new category
Edit page index title
Edit category
Edit link
Adding a New Node to the ODP Cluster
You can follow the steps below to add a new node to the ODP cluster.
Add the Amabri Repository
It must be the same as the existing cluster.
cat /etc/yum.repos.d/ambari.repo
Add Prerequisites
Make sure to meet the following prerequisites on each cluster node.
Make sure to link ODP on Hetzner.
Configure the host file using the following command.
Set the hostname using the following command.
Run the command
vim /etc/resolv.confand configure as below.
Run the command
vim /etc/selinux/configand disable SELinux.
Install the Agent
Add the Server details to the Agent
vim /etc/ambari-agent/conf/ambari-agent.ini
Start the Agent
<Running>
Install Java
Install Python
Skip Users and Group Creation
Follow from the Ambari server node:
Template:
Example:
Response:
and
Install ODP Select manually on a New Host
Add the ODP-Repository
cat /etc/yum.repos.d/ambari-odp-1.repo
Install the ODP-Select
Add an Agent from the Amabri UI



Install the Clients



Troubleshooting Steps
Issue-1
If the user and group creation skipping is not performed, the following error appears.
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/shared_initialization.py", line 50, in setup_users groups = params.user_to_groups_dict[user], KeyError: hbase' Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-63224.json', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-63224.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1_ 2', '']
Solution: Perform as suggested in Skip Users and Group Creation.
Issue-2
If odp-select is installed on a new node before adding it to the cluster, the following error appears.
Unable to query for supported packages using /usr/bin/odp-select.
Solution: Add a repository as mentioned in Install ODP Select manually on a New Host.
Issue-3
Distro Module adding
Solution: