# How to check if cassandra is corrupted on Managed node?

**URL:** <https://community.dynatrace.com/t/how-to-check-if-cassandra-is-corrupted-on-managed-node/37503>\
**Category:** Troubleshooting\
**Tags:** cassandra\
**Created:** [January 3, 2023, 2:43am UTC](https://community.dynatrace.com/t/how-to-check-if-cassandra-is-corrupted-on-managed-node/37503 "2023-01-03T02:43:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharat\_pitta](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@bharat\_pitta](https://community.dynatrace.com/u/bharat_pitta)\
**Post date:** [January 3, 2023, 2:43am UTC](https://community.dynatrace.com/t/how-to-check-if-cassandra-is-corrupted-on-managed-node/37503/1 "2023-01-03T02:43:45Z")

</div>

## Question

How to check if Cassandra is corrupted on the Managed node?

## Answer

- Open the Cassandra log file, usually located in :/opt/dynatrace-managed/cassandra/log/cassandra.log
- Check if there are any corrupted messages in logs like those below

```auto
ERROR [CompactionExecutor:544] 2019-02-19 13:26:55,920 CassandraDaemon.java:231 - Exception in thread Thread[CompactionExecutor:544,1,main]
org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /metricsDisk/cassandra/ruxitdb/Ts2Final01Min-967699b0f56011e7ad0403861a5cb15c/ruxitdb-Ts2Final01Min-ka-356332-Data.db
ERROR [CompactionExecutor:566] 2019-02-19 13:30:20,207 CassandraDaemon.java:231 - Exception in thread Thread[CompactionExecutor:566,1,main]
org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /metricsDisk/cassandra/ruxitdb/Ts2Volatile01Min-960efe40f56011e7ad0403861a5cb15c/ruxitdb-Ts2Volatile01Min-ka-65282-Data.db
ERROR [CompactionExecutor:564] 2019-02-19 14:05:25,489 CassandraDaemon.java:231 - Exception in thread Thread[CompactionExecutor:564,1,main]
org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /metricsDisk/cassandra/ruxitdb/Ts2Final01Min-967699b0f56011e7ad0403861a5cb15c/ruxitdb-Ts2Final01Min-ka-345130-Data.db

```

- Corrupted files where the filename contains Ts are not critical, since only time-series data is involved (like the sample from above).
- Corrupted files where the filename contains Me _are critical_ since configuration data is involved. An example of such file name would be following

```auto
/var/opt/dynatrace-managed/cassandra/ruxitdb/Me2Data-0763a420293b11e8946add4c85a31f71/ruxitdb-Me2Data-tmp-ka-202976-Data.db

```

In such cases, Cassandra must be repaired!

**Note** timezone in Cassandra logs is the local time of the host Cassandra is running at

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 10, 2023, 1:25pm UTC](https://community.dynatrace.com/t/how-to-check-if-cassandra-is-corrupted-on-managed-node/37503/2 "2023-01-10T13:25:00Z")

</div>

Thank you&nbsp;[@bharat\_pitta](https://community.dynatrace.com/user/12461)&nbsp;for this troubleshooting tip/trick 🙂

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [June 7, 2023, 3:48pm UTC](https://community.dynatrace.com/t/how-to-check-if-cassandra-is-corrupted-on-managed-node/37503/3 "2023-06-07T15:48:30Z")

</div>

Hi&nbsp;[@bharat\_pitta](https://community.dynatrace.com/user/12461)

I assume the log file is debug.log and not cassandra.log? I only see system.log, debug.log and launch.log in the default&nbsp;/opt/dynatrace-managed/cassandra/log/ directory 🙂

It looks like debug.log is the one that would contain the info you mentioned.
