[ 
https://issues.apache.org/jira/browse/CASSANDRA-19455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823149#comment-17823149
 ] 

Stefan Miklosovic commented on CASSANDRA-19455:
-----------------------------------------------

Because you just can not move the trigger jar from 3.11 to 4.0. There are 
likely issues as I mentioned above:

_Now it is worth to say that implementation-wise, the trigger in examples in 
3.11 does differ from the one in 4.0, there are changed imports etc so it is 
not the same thing. The trigger for 4.0 has to be specifically tailored to that 
version and it is not 1:1 replacement._

Are you sure your trigger source code does compile against Cassandra 4.0 code 
base?

> Create Trigger is not working on 4.x version cassandra
> ------------------------------------------------------
>
>                 Key: CASSANDRA-19455
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19455
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Other
>            Reporter: Hakan OTAL
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.0.x
>
>
> Current version is 3.11.16  , try to upgrade 4.0.0 , 4.0.5 ,4.0.12 and both 
> of 4.x version gives below error.
>  
> Reload triggers is executed , custom trigger jar put in correct path 
> "../conf/triggers".
>  
> cassandra@cqlsh:radius> CREATE TRIGGER radacct_trigger ON radius.radacct 
> USING 'com.XXXX.cassandra.trigger.RadAcctTrigger';
>  
> InvalidRequest: Error from server: code=2200 [Invalid query] message="Trigger 
> class 'com.XXXX.cassandra.trigger.RadAcctTrigger' couldn't be loaded"
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to