Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Cassandra hints folder filling up

Solved1.19K views4th January 2021Cassandra
3
Tiago Bento [SLC]20 4th January 2021 0 Comments

Hi all,

We’ve recently had some issues regarding the Cassandra\data\hints folder getting overrun with files and depleting the disk. For now, we’ve been emptying that folder and restarting Cassandra’s service but we were wondering if there is a way to prevent Cassandra from offloading this much data.

Thanks in advance.

Tiago Bento [SLC] Selected answer as best 4th January 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
7
Brent [SLC]1.61K Posted 4th January 2021 1 Comment

Hi Tiago, Cassandra generates hint files when it loses connection between agents in a cluster or a write requests times out, these hint files are then used to quickly bring the nodes back up to speed with the requests they missed (so a full repair would not be needed). By default a node will keep 3h worth of hint files, so depending on the amount of data going through a node 3h could generate a lot of files. To reduce the amount of hint files you can do the following (in order of preferability)

  1. Check why the Cassandra keeps on losing connection and fix that issue
  2. Reduce the “max_hint_window_in_ms” in the Cassandra.yaml to something shorter.
  3. Disable the hinted_handoff completely by altering the “hinted_handoff_enabled” Do note that this could have impact on the data correctness until the repair cycle starts.

On a sidenote if the folder is full, you can run “nodetool truncatehints” to try and clear the folder without the need of a restart. More information on the Hint files inner working can be found here

Brent [SLC] Posted new comment 4th January 2021
Brent [SLC] commented 4th January 2021

For completion, those that are wondering what the system.hints thable is for:

The system.hints table is a remnant of pre-3.0 hint-mechanism and only there for backwards compatibility reasons. This table is not used in version 3+ . The devs replaced it in favour of a file based system to avoid a cassandra antipattern (more info https://www.datastax.com/blog/whats-coming-cassandra-30-improved-hint-storage-and-delivery) there is no relation between the system.hints table and the hint files on the system.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs