| |
| |
| <!DOCTYPE html> |
| <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> |
| <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> |
| <head> |
| <meta charset="utf-8"> |
| |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| |
| <title>Troubleshooting — Apache Cassandra Documentation v4.1</title> |
| |
| |
| |
| |
| |
| |
| |
| |
| <script type="text/javascript" src="../_static/js/modernizr.min.js"></script> |
| |
| |
| <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script> |
| <script type="text/javascript" src="../_static/jquery.js"></script> |
| <script type="text/javascript" src="../_static/underscore.js"></script> |
| <script type="text/javascript" src="../_static/doctools.js"></script> |
| <script type="text/javascript" src="../_static/language_data.js"></script> |
| <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script> |
| |
| <script type="text/javascript" src="../_static/js/theme.js"></script> |
| |
| |
| |
| |
| <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> |
| <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
| <link rel="stylesheet" href="../_static/extra.css" type="text/css" /> |
| <link rel="index" title="Index" href="../genindex.html" /> |
| <link rel="search" title="Search" href="../search.html" /> |
| <link rel="next" title="Find The Misbehaving Nodes" href="finding_nodes.html" /> |
| <link rel="prev" title="Cassandra Stress" href="../tools/cassandra_stress.html" /> |
| </head> |
| |
| <body class="wy-body-for-nav"> |
| |
| |
| <div class="wy-grid-for-nav"> |
| |
| <nav data-toggle="wy-nav-shift" class="wy-nav-side"> |
| <div class="wy-side-scroll"> |
| <div class="wy-side-nav-search" > |
| |
| |
| |
| <a href="../index.html" class="icon icon-home"> Apache Cassandra |
| |
| |
| |
| </a> |
| |
| |
| |
| |
| <div class="version"> |
| 4.1 |
| </div> |
| |
| |
| |
| |
| <div role="search"> |
| <form id="rtd-search-form" class="wy-form" action="../search.html" method="get"> |
| <input type="text" name="q" placeholder="Search docs" /> |
| <input type="hidden" name="check_keywords" value="yes" /> |
| <input type="hidden" name="area" value="default" /> |
| </form> |
| </div> |
| |
| |
| </div> |
| |
| <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> |
| |
| |
| |
| |
| |
| |
| <ul class="current"> |
| <li class="toctree-l1"><a class="reference internal" href="../getting_started/index.html">Getting Started</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../new/index.html">New Features in Apache Cassandra 4.0</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../architecture/index.html">Architecture</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../cql/index.html">The Cassandra Query Language (CQL)</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../data_modeling/index.html">Data Modeling</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../configuration/index.html">Configuring Cassandra</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../operating/index.html">Operating Cassandra</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../tools/index.html">Cassandra Tools</a></li> |
| <li class="toctree-l1 current"><a class="current reference internal" href="#">Troubleshooting</a><ul> |
| <li class="toctree-l2"><a class="reference internal" href="finding_nodes.html">Find The Misbehaving Nodes</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="reading_logs.html">Cassandra Logs</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_nodetool.html">Use Nodetool</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_tools.html">Diving Deep, Use External Tools</a></li> |
| </ul> |
| </li> |
| <li class="toctree-l1"><a class="reference internal" href="../development/index.html">Contributing to Cassandra</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../faq/index.html">Frequently Asked Questions</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../plugins/index.html">Third-Party Plugins</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../bugs.html">Reporting Bugs</a></li> |
| <li class="toctree-l1"><a class="reference internal" href="../contactus.html">Contact us</a></li> |
| </ul> |
| |
| |
| |
| </div> |
| </div> |
| </nav> |
| |
| <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> |
| |
| |
| <nav class="wy-nav-top" aria-label="top navigation"> |
| |
| <i data-toggle="wy-nav-top" class="fa fa-bars"></i> |
| <a href="../index.html">Apache Cassandra</a> |
| |
| </nav> |
| |
| |
| <div class="wy-nav-content"> |
| |
| <div class="rst-content"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <div role="navigation" aria-label="breadcrumbs navigation"> |
| |
| <ul class="wy-breadcrumbs"> |
| |
| <li><a href="../index.html">Docs</a> »</li> |
| |
| <li>Troubleshooting</li> |
| |
| |
| <li class="wy-breadcrumbs-aside"> |
| |
| |
| <a href="../_sources/troubleshooting/index.rst.txt" rel="nofollow"> View page source</a> |
| |
| |
| </li> |
| |
| </ul> |
| |
| |
| <hr/> |
| </div> |
| <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> |
| <div itemprop="articleBody"> |
| |
| <div class="section" id="troubleshooting"> |
| <h1>Troubleshooting<a class="headerlink" href="#troubleshooting" title="Permalink to this headline">¶</a></h1> |
| <p>As any distributed database does, sometimes Cassandra breaks and you will have |
| to troubleshoot what is going on. Generally speaking you can debug Cassandra |
| like any other distributed Java program, meaning that you have to find which |
| machines in your cluster are misbehaving and then isolate the problem using |
| logs and tools. Luckily Cassandra had a great set of instrospection tools to |
| help you.</p> |
| <p>These pages include a number of command examples demonstrating various |
| debugging and analysis techniques, mostly for Linux/Unix systems. If you don’t |
| have access to the machines running Cassandra, or are running on Windows or |
| another operating system you may not be able to use the exact commands but |
| there are likely equivalent tools you can use.</p> |
| <div class="toctree-wrapper compound"> |
| <ul> |
| <li class="toctree-l1"><a class="reference internal" href="finding_nodes.html">Find The Misbehaving Nodes</a><ul> |
| <li class="toctree-l2"><a class="reference internal" href="finding_nodes.html#client-logs-and-errors">Client Logs and Errors</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="finding_nodes.html#metrics">Metrics</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="finding_nodes.html#next-step-investigate-the-node-s">Next Step: Investigate the Node(s)</a></li> |
| </ul> |
| </li> |
| <li class="toctree-l1"><a class="reference internal" href="reading_logs.html">Cassandra Logs</a><ul> |
| <li class="toctree-l2"><a class="reference internal" href="reading_logs.html#common-log-files">Common Log Files</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="reading_logs.html#getting-more-information">Getting More Information</a></li> |
| </ul> |
| </li> |
| <li class="toctree-l1"><a class="reference internal" href="use_nodetool.html">Use Nodetool</a><ul> |
| <li class="toctree-l2"><a class="reference internal" href="use_nodetool.html#cluster-status">Cluster Status</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_nodetool.html#coordinator-query-latency">Coordinator Query Latency</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_nodetool.html#local-query-latency">Local Query Latency</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_nodetool.html#threadpool-state">Threadpool State</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_nodetool.html#compaction-state">Compaction State</a></li> |
| </ul> |
| </li> |
| <li class="toctree-l1"><a class="reference internal" href="use_tools.html">Diving Deep, Use External Tools</a><ul> |
| <li class="toctree-l2"><a class="reference internal" href="use_tools.html#jvm-tooling">JVM Tooling</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_tools.html#basic-os-tooling">Basic OS Tooling</a></li> |
| <li class="toctree-l2"><a class="reference internal" href="use_tools.html#advanced-tools">Advanced tools</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| |
| |
| </div> |
| |
| </div> |
| <footer> |
| |
| <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> |
| |
| <a href="finding_nodes.html" class="btn btn-neutral float-right" title="Find The Misbehaving Nodes" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a> |
| |
| |
| <a href="../tools/cassandra_stress.html" class="btn btn-neutral float-left" title="Cassandra Stress" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a> |
| |
| </div> |
| |
| |
| <hr/> |
| |
| <div role="contentinfo"> |
| <p> |
| © Copyright 2020, The Apache Cassandra team |
| |
| </p> |
| </div> |
| Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. |
| |
| </footer> |
| |
| </div> |
| </div> |
| |
| </section> |
| |
| </div> |
| |
| |
| |
| <script type="text/javascript"> |
| jQuery(function () { |
| SphinxRtdTheme.Navigation.enable(true); |
| }); |
| </script> |
| |
| |
| |
| |
| |
| |
| </body> |
| </html> |