Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 07-19-2016 06:39 AM
How does ambari display service state STARTED/STOPPED , which is the check that is applied for doing it , is it PID check or in background ps is done for the service.
can some one explain, what happens in background to determine the state of the service?
Created 07-19-2016 07:16 AM
It could be as simple as checking the pid file and the corresponding process in the system. For example, for hiveserver2 the file on hiveserver2 node it would be /var/run/hive/hive_server.pid. If the process number in the file is not matching with the running hiveserver2 process, it would show the process as stopped.
Created 07-19-2016 07:16 AM
It could be as simple as checking the pid file and the corresponding process in the system. For example, for hiveserver2 the file on hiveserver2 node it would be /var/run/hive/hive_server.pid. If the process number in the file is not matching with the running hiveserver2 process, it would show the process as stopped.
Created 07-19-2016 07:19 AM
Below is the link give you brief description of your question...