user2846382
user2846382

Reputation: 385

Apache Ambari manual service start

I have HDFS-HA(namenode high availability) setup in my hadoop cluster(using Apache Ambari). Now, I have one scenario in which my ambari-server machine(which also consist one Namenode i.e. active/Primary) went offline so that my other Namenode(Standby) was active and running but after some time it went offline too for some reason.Services were offline I mean.I was unable to do any operation.What if I have to start the services manually that is used to start using ambari. I mean using command-line or something

Upvotes: 0

Views: 383

Answers (1)

cjackson
cjackson

Reputation: 1637

Services can be started from the command line but they should not be in an Ambari environment typically. This is because Ambari does more then just start the service when you issue the start/restart command for any given service. Ambari also makes sure the most up to date configuration is written to each node along with other various house keeping type tasks.

You can look at the logs in Ambari when you start/restart a service to see exactly what Ambari does with respect to writing the configuration, other house keeping, and the exact command to start/restart the given service.

Upvotes: 1

Related Questions