Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12242

Could not create trigger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Not A Bug
    • None
    • Legacy/CQL
    • None
    • Normal

    Description

      I tried cassandra 2.2.6 and 3.7, both of them could not create triggers.
      It reports that the trigger class doesn't exist. But it actually does and is at the right directory, the conf/triggers.

      I debugged the source code, and I found that SEPWorker is used to create triggers, but it's thread is not a secure thread, which should be managed by cassandra's SecurityManager and belongs to SecurityThreadGroup.

      When security validation failed, an exception will be thrown. That's direct cause for creating triggers failed.

      Attachments

        1. DataTrigger.java
          2 kB
          RocWay Li

        Activity

          People

            Unassigned Unassigned
            RocWay RocWay Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: