使用Ambari搭建4节点HDP集群时安装Accumulo Client报错求助
Hey there, sorry to hear you're stuck installing the Accumulo Client while setting up your 4-node HDP cluster via Ambari. Let's break down some common issues and fixes that should get you back on track:
Verify Ambari Repository Configuration
First, make sure all nodes are pointing to the correct HDP repository that includes the Accumulo Client package. On each node, runyum repolistto check if the HDP repo is enabled and accessible. If you're working in an offline environment, confirm your local repo has the Accumulo Client RPM and that all nodes can reach it without permission issues.Check SSH Passwordless Access Between Nodes
Ambari relies on seamless SSH access to push packages and run commands across nodes. Test the connection from your Ambari server to each worker node withssh <node-hostname> hostname—it should log in without prompting for a password. Also, ensure the Ambari service user (usuallyambari-qa) has sudo privileges on all nodes without requiring a password.Inspect Disk Space and Directory Permissions
Low disk space or incorrect permissions on the installation directory (typically/usr/hdp/) can block the install. Rundf -hto check free space on the mount point where HDP is installed. Additionally, confirm theambari-qauser has read/write access to the target directory—you can fix permissions withsudo chown -R ambari-qa:hadoop /usr/hdp/if needed.Dig Into Ambari Agent Logs for Specific Errors
The most useful clue will be in the Ambari Agent logs on the failing node. Navigate to/var/log/ambari-agent/ambari-agent.logand look for entries around the time the install failed. Common issues here include missing system dependencies (like specific Java libraries) or corrupted package downloads. If you spot a missing dependency, install it manually withyum install <package-name>before retrying.Restart Ambari Agent and Retry the Installation
Sometimes the Ambari Agent process can hang or lose its connection to the server. On the failing node, runsudo service ambari-agent restartto refresh it. Then head back to the Ambari UI, cancel the failed install task, and restart the Accumulo Client installation.Confirm Accumulo Service Health
If you already have the core Accumulo service installed, make sure it's in a healthy running state. The Client installation pulls configuration from the active Accumulo service, so a misconfigured or stopped Accumulo instance can cause failures. Restart the Accumulo service from the Ambari UI if needed, then try installing the Client again.
内容的提问来源于stack exchange,提问作者abhaysingh

