Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

francis.ofougwuka_151231 avatar image
francis.ofougwuka_151231 asked ·

Monitoring DSEFS

Does anyone know if there's a way to monitor dsefs to known when it's not available on a node?

dsefsmonitioringmonitoring dsefs
1 comment
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

what do you mean "not available on a node"? there is no dse fs command?

0 Likes 0 · ·

1 Answer

alex.ott avatar image
alex.ott answered ·

You can get information about DSEFS different ways:

  1. via JMX, by querying one of the beans, like this: com.datastax.bdp:type=dsefs,class=RestServerMetrics,scope="127.0.0.1:5598",metric=connectionCount
  2. By calling WebHDFS REST API to get status of the root directory, for example. Like this: curl 'http://localhost:5598/webhdfs/v1/?op=GETFILESTATUS' and checking exit status
1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks Alex. That's what I'm looking for and it works

0 Likes 0 · ·