Hi, can you confirm which version of Ambari you are using? ...
Hi, can you confirm which version of Ambari you are using?
So i messed up the nodemanager at one host and decided to format the whole thing and readd. That was a big mistake i think now.
Im just not getting rid of the Host. Unfortunately i cant change the name of the host since its company network. So no matter how often i delete the host and even restart the ambari server ill end up having the host in the host list or at least the metadata somewhere in the system. So when try to add i get the message Host is already. When i delete it and then readd it right away i get some steps more forward and i get an Binding exception :
Exception [EclipseLink-4002] (Eclipse Persistence Services – 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO ClusterHostMapping (cluster_id, host_name) VALUES (2, ‘****’) was aborted. Call getNextException to see the cause. Error Code: 0 Call: INSERT INTO ClusterHostMapping (cluster_id, host_name) VALUES (?, ?) bind => [2 parameters bound]
So i really dont get it why is it so hard to delete a host properly from the ambari server? after this message of course it is in the host list again with no services installed and i cant add services. If i delete it and restart it will be in the list again after restart and i cant add it again. If i delete it and try to add it without restart it fails at the last step.
So what to do?
The forum ‘Ambari’ is closed to new topics and replies.
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world