Created on 08-27-2024 08:14 PM - edited 08-27-2024 08:15 PM
Whenever I enter Ambari I get the next error in a box with a green "okay" button.
500 status code received on GET method for API: /api/v1/clusters/datalakev02/requests?to=end&page_size=10&fields=Requests/end_time,Requests/id,Requests/progress_percent,Requests/request_context,Requests/request_status,Requests/start_time,Requests/cluster_name,Requests/user_name&minimal_response
Then if I want to go to any configs of the services or restart something, I get a similar but shorter message:
500 status code received on GET method for API: /api/v1/clusters/datalakev02/kerberos_descriptors/COMPOSITE?evaluate_when=true
I checked the ambari-server logs and I have only this message:
2024-08-28 03:05:10,868 WARN [ambari-hearbeat-monitor] HeartbeatMonitor:133 - Exception received
java.lang.RuntimeException: Failed to construct cluster topology while replaying request: org.apache.ambari.server.topology.InvalidTopologyException: NAMENODE HA requires at least 2 hosts running NAMENODE but there are: 1 Hosts: [master03]
Is there any solution to this problem? I am running ambari 2.7.4 in a CentOS 7 VM
Created 08-27-2024 09:57 PM
Hi @Mugarte10, Welcome to our community! To help you get the best possible answer, I have tagged in our Ambari experts @Scharan who may be able to assist you further.
Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.
Regards,
Vidya Sargur,Created 08-28-2024 07:49 AM
@Mugarte10Can you confirm if you have made any changes, like decommissioning a node or upgrading the cluster?
Created 08-28-2024 11:30 AM
@Scharan Both namenodes were down and because of an error with the VMs we had to recover the nodes but not the information, so in order to recover the namenode I tried decommissioning the node and then add it again as a namenode.
Created 08-30-2024 05:29 AM
@Mugarte10Seems to be an issue with Ambari DB, If you have the Ambari database back up, can you try restoring the Ambari database, Also take the backup of ambari DB of the current state.
Created 08-30-2024 09:02 AM
Hi @Scharan, I have not backed up the ambari DB, does it back up automatically? And if it does where can I find that back up?