10. Troubleshooting

Knowing a little about how a system works is one of the keys to troubleshooting it. In this chapter, we will discuss some of the ways to troubleshoot Cassandra and the tools involved.

Toolkit

Most of the tools that are used for troubleshooting are basic *nix tools. We’ll go over some of the key command-line switches and what to look for when examining a system.

iostat

iostat is a commonly used *nix tool that shows metrics about the input/output of a system. It does not come installed out of the box on most *nix distributions. It is commonly found as part of the sysstat package. The following is taken from the iostat man page that comes with Linux:

The iostat command is used for monitoring system input/output device loading ...

Get Practical Cassandra: A Developer’s Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.