EndpointStateTracker MBean

The EndpointStateTracker MBean is identified by the following path:

com.datastax.bdp:name=EndpointStateTracker,type=core,name=EndpointStateTracker

This MBean has an attribute to blacklist a node and operations that include node health, workload, and status.

Attributes

Blacklisted

Boolean attribute to remove a node from the list of searchable nodes while it’s being diagnosed, repaired, reindexed, and verified as healthy.

Sets blacklisted status that is gossiped around the cluster and used during the replica selection phase of distributed search queries.

  • true - forcibly rank this node below active nodes for distributed search queries

  • false - make this node eligible for selection during distributed search queries.

ServerID

String that identifies the server ID of a local node.

MBean operations

The arguments for the operations are strings for the IP address, except where noted.

getNodeHealth

Gets the node health for a given IP address.

getWorkloads

Gets the workload type of a remote endpoint. Persists between restarts.

getDatacenter

Gets the datacenter for the given endpoint, basing on the information from the Gossiper or information saved in the Cassandra system table. Persists between restarts.

getActiveStatus

Gets active status for the given endpoint. A node is active when the server and required plugins are all started. Computed at runtime.

getServerId

Gets the DSE multi-instance server ID for a remote endpoint. Persists between restarts.

getCoreIndexingStatus

Gets the dynamic indexing status (INDEXING, FINISHED, or FAILED) of the search index of a given endpoint. Computed at runtime.

getRing

Takes a single argument, the keyspace. Returns information about every node in the cluster. Computed at runtime.

getIsGraphServer

Returns true if graph is enabled for the given endpoint. Computed at runtime.

vnodesEnabled

Returns true if vnodes are enabled. Computed at runtime.

getBlacklistedStatus

Indicates when a node is removed from node from the list of searchable nodes. Persists between restarts.

The gossip state is persisted locally. Set the Blacklisted attribute to remove the blacklisting status.

You can also use the nodetool sjk command to blacklist a node. (DSE 6.8 | 6.7 | 6.0 | 5.1)

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com