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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Cassandra – Unable to perform authorization of super-user permission

Solved1.87K views9th September 2021Cassandra cassandra cluster
0
Alexander Verriest [SLC] [DevOps Advocate]424 8th September 2021 0 Comments

I noticed the following error occasionally pop up in my database logging:
2021/09/08 14:06:49.920|SLDBConnection|SLDataGateway.Repositories|INF|0|18|2021-09-08T14:06:49.920|WARN |DataGateway.Cassandra|CassandraConnection.ExecuteSyncInner (BatchInsertion)
Query: Cassandra.BatchStatement
Exception:Cassandra.UnauthorizedException: Unable to perform authorization of permissions: Unable to perform authorization of super-user permission: Operation timed out - received only 0 responses.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Cassandra.Tasks.TaskHelper.WaitToComplete(Task task, Int32 timeout)
at Cassandra.Session.Execute(IStatement statement)
at SLCassandraClassLibrary.DBGateway.Cassandra.StorageManagers.SingleNode.CassandraConnection.ExecuteSyncInner(IStatement CQLquery, String debugMessage, Action`1 unhandledExceptionHandler)

Even when using the default superuser from Cassandra and using the default replicaiton for the authentication keyspace, I keep getting this exception.
I have not yet noticed anything wrong on my DMA, but if there was a problem with the user, I'd expect to see more issues, so I'm rather confused what this error means, especially on simple batch inserts.

Can someone elaborate?

Alexander Verriest [SLC] [DevOps Advocate] Selected answer as best 9th September 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Brent Alleweireldt [SLC]1.53K Posted 8th September 2021 1 Comment

This exception gets thrown when a query is launched, but the cassandra fails to resolve the permissions this users has.

To do so, cassandra will ping the System_auth table and see what is stored in there. Depending on the user and the DMA setup the amount of nodes expected to respond can differ. But 0 is never good.

The error does not give much in the way of why the node fails, but generally it is because the replica is unavailable (either due to timeouts, or due to it being offline), inspecting the cassandra logs could yield more info.

As a sidenote, using the default Cassandra superuser will make the issue worse as this one always reverts to Quorum for its permissions, whilst other users will be checked through a consistencyLevel of One.

Another thing to keep in mind is to check if the System_auth table has a correct replication setting. Under the default settings, the check will fail if the sole replica-node is unavailable. Generally setting the System_auth replication to 3-5 nodes per datacenter is recommended

Alexander Verriest [SLC] [DevOps Advocate] Posted new comment 9th September 2021
Alexander Verriest [SLC] [DevOps Advocate] commented 9th September 2021

Thank you, I’ll go back to using a different superuser then.
I had the issue before I switched to the default Cassandra superuser though. I switched because I thought that would improve the situation ^^;

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin