Troubleshooting Ambari – Resolving General Problems

Stay updated with latest technology trends
Join DataFlair on Telegram!!

1. Troubleshooting Ambari

Today, in this Ambari article, “Troubleshooting Ambari” we will learn that how to resolve general problems of Apache Ambari in detail.
So, let’s begin Troubleshooting Ambari. 

Troubleshooting Ambari

Troubleshooting Ambari – Resolving General Problems

2. Troubleshooting Ambari

In order to help to troubleshoot any issues we might have on installing Ambari with an existing Oracle database, we can use following entries:
You must read top Ambari Features

a. Problem 1

Ambari Server Fails to Start: No Driver
Check /var/log/ambari-server/ambari-server.log for :
Class[oracle.jdbc.driver.OracleDriver] not found.
Not able to found the Oracle JDBC .jar file.

  • Solution

Re-run ambari-server setup if you are sure about the file that it is in the appropriate directory on the Ambari server.

b. Problem 2

Ambari Server Fails to Start: No Connection
Check /var/log/ambari-server/ambari-server.log for :
The Network Adapter could not establish the connection
Error Code: 17002
Ambari Server and the database are not connected.

  • Solution

Makes sure that the database correctly configured by reading /etc/ambari-server/conf/ and also endure that the host is reachable from the Ambari Server.
Have a look at Ambari Advantages


c. Problem 3

Ambari Server Fails to Start: Bad Username
Check /var/log/ambari-server/ambari-server.log for :
Internal Exception: java.sql.SQLException: ORA­01017:
invalid username/password; logon denied
An invalid username/password is used.

  • Solution

Make sure that the user account has the correct privileges and also it is set up in the database.
Do you know about Ambari Architecture

d. Problem 4

Ambari Server Fails to Start: No Schema
Check /var/log/ambari-server/ambari-server.log for :
Internal Exception: java.sql.SQLSyntaxErrorException: ORA­00942:
table or view does not exist
Basically, the schema has not been loaded.

  • Solution

Ensure that if you have loaded the database schema.

e. Problem 5

Ambari shows both NameNodes as the standby just after changing NameNode RPC port.
Change the NameNode RPC ports (by customizing the dfs.namenode.servicerpc-address property), if we have enabled NameNode HA, and it will display both NameNodes as standby.
You must read about Ambari Security

  • Solution

We need to format ZKFC to make sure that the config data in ZooKeeper is refreshed while modifying the NameNode RPC port (dfs.namenode.servicerpc-address) after enabling NameNode HA. Further to format ZKFC znode, run the following command:

su - <hdfs-user> -c 'hdfs zkfc -formatZK'

So, this was all about Troubleshooting Ambari. Hope you like our explanation.

3. Conclusion: Apache Ambari Troubleshooting

Hence, we have seen the solution to all the general problems of Apache Ambari, in Ambari Troubleshooting article. Still, if you have any query regarding Ambari Troubleshooting ask in the comment tab.
See also –
Apache Ambari Cluster Setup
For reference

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.