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 11-17-2015 08:57 PM
I want to avoid using the REST API to force the status. And even though the service is marked as down, there is no option to run a service check.
Created 11-17-2015 11:03 PM
The incorrect status was caused by the contents of the zookeeper_server.pid file being out of sync with the running zookeeper process. Updating the file with the proper PID allowed the correct Zookeeper status to be displayed in Ambari.
Created 11-17-2015 09:01 PM
You could try to restart the Ambari Agents on the Zookeeper nodes or the complete ambari server. What is the current state of the Zookeeper service and host_components? could you check via Rest API <ambari-server>/api/v1/clusters/<clustername>/services/ZOOKEEPER
Created 11-17-2015 11:00 PM
I pulled the status and everything showed up as started! The Ambari agents and server were then cycled with no change in status.
Created 11-17-2015 09:17 PM
clear the browser cache and check the status. Please post the log entries from ambari-server.log related to zk.
Created 11-17-2015 11:03 PM
The incorrect status was caused by the contents of the zookeeper_server.pid file being out of sync with the running zookeeper process. Updating the file with the proper PID allowed the correct Zookeeper status to be displayed in Ambari.
Created 11-18-2015 12:36 AM
@terry Did you update the pid manually?
Created 11-18-2015 01:51 PM
Sounds like this could be a bug..
Created 11-18-2015 02:21 PM
The PID-file problem is actually quite common. I have seen this a couple of times already, not just zookeeper-related (e.g. services not starting because of existing pid file with invalid process id, ...).
Created 11-18-2015 02:41 PM
@Jonas Straub when you see this behaviour could you make sure to log a ticket with our support team.
FYI, I've asked support to get the ZK issue in a ticket.
Created 11-18-2015 02:45 PM
@Olivier Renault I usually do 🙂