-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebUI shows no nodes live when they're actually up and pass health checks #4
Comments
I've just redeployed a cluster and the issue remains. Any suggestions? |
This should not happen. You can check Ambari-agent logs and server logs if there are any exceptions. |
I get these errors for my 3 C* nodes in ambari-agent.log.
Yet I can connect to these host:port's from the machine ambari-server is installed on.
I also have no problem running CQLSH and connecting to the cluster. |
Are you able to resolve the issue? |
No I haven't. I was going to look into it some more soon. Has anyone else reported this problem? |
What's really strange about this is that the heartbeats seem to be working fine and Cassandra is inded running (notice it says "No Alerts"), but this summary window says 0/3 nodes are live. What part of the plugin code would be responsible to indicating with a Cluster Node is live or not on this view? |
This might be an issue with the status function. Can you please confirm if there are no exceptions being thrown here? The recommended way for defining the status function is as follows:
|
@mithmatt I'll add some exception handling and confirm the return code. Earlier I did actually stick a debug statement in the status function, but it never appeared to be executed. |
For some reason I'm running CentOS 7, so I'm using systemd. The exit code of the equivalent systemd command returned a 0 exit code. When I updated the status command in
|
Yes for centos its good to use sysmtectl. If it is resolved close the issue. |
Would you accept a PR that switches based on whether
|
@seglo 's solution worked for me. I had the same issue on the same OS (CentOS). |
I was able to get the plugin working. I'm using this on CentOS and it was required that I install the datastax repo for yum first before anything would work (can this be automated?), but my main issue now is the UI is reporting inconsistent information.
The health checks for the "Cluster Nodes" is working (why is it called this? shouldn't they be more descriptive like "C* Nodes"?), but the Ambari UI shows the following:
(ignore the 4 warning alerts, they're not related to Cassandra)
When I run a
nodetool status
you can see all my nodes are up:The text was updated successfully, but these errors were encountered: