[ 
https://issues.apache.org/jira/browse/CASSANDRA-18252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ekaterina Dimitrova updated CASSANDRA-18252:
--------------------------------------------
    Description: 
CASSANDRA-17281 was created to do the work around removing Scripted UDFs 

Seems like adding hooks with the current Sandbox might be non-trivial, 
considering that it was the reason for removing the hooks for other scripted 
languages.

Also, Security Manager is deprecated already in Java 17, the current sandbox 
had also some performance implications. With all that said, this ticket is 
meant to blindly remove the scripted UDFs and any related tests and 
CASSANDRA-17281 will be used for any UDF refactoring and addition of scripted 
UDFs hooks. This will help us to speed up the incremental addition of JDK17 
builds and enable people to test directly on trunk instead of having their own 
modified branches. Feature branch was considered but considering all moving 
parts that we have to maintain a few different branches in different repos and 
states it is too time-consuming to maintain.

Supportive ML thread where I will also post the result of this ticket for final 
confirmation:

[https://lists.apache.org/thread/c39yrbdszgz9s34vr17wpjdhv6h2oo61]

*WARNING: The API for UDFs might change as part of CASSANDRA-17281 where hooks 
will be introduced for JavaScript UDFs and some additional refactoring is going 
to happen. This ticket primary goal is to clean the internals and enable people 
to easily test with JDK17*

  was:
CASSANDRA-17281 was created to do the work around removing Scripted UDFs 

Seems like adding hooks with the current Sandbox might be non-trivial, 
considering that it was the reason for removing the hooks for other scripted 
languages.

Also, Security Manager is deprecated already in Java 17, the current sandbox 
had also some performance implications. With all that said, this ticket is 
meant to blindly remove the scripted UDFs and any related tests and 
CASSANDRA-17281 will be used for any UDF refactoring and addition of scripted 
UDFs hooks. This will help us to speed up the incremental addition of JDK17 
builds and enable people to test directly on trunk instead of having their own 
modified branches. Feature branch was considered but considering all moving 
parts that we have to maintain a few different branches in different repos and 
states it is too time-consuming to maintain.

Supportive ML thread where I will also post the result of this ticket for final 
confirmation:

[https://lists.apache.org/thread/c39yrbdszgz9s34vr17wpjdhv6h2oo61]

*WARNING: The API for UDFs might change as part of CASSANDRA-17281 where hooks 
will be introduced for JavaScript UDFs and some additional refactoring is going 
to happen.*


> Remove Scripted UDFs from trunk to enable easier JDK17 testing on current 
> trunk
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18252
>             Project: Cassandra
>          Issue Type: Task
>          Components: Feature/UDF
>            Reporter: Ekaterina Dimitrova
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>             Fix For: 5.x
>
>
> CASSANDRA-17281 was created to do the work around removing Scripted UDFs 
> Seems like adding hooks with the current Sandbox might be non-trivial, 
> considering that it was the reason for removing the hooks for other scripted 
> languages.
> Also, Security Manager is deprecated already in Java 17, the current sandbox 
> had also some performance implications. With all that said, this ticket is 
> meant to blindly remove the scripted UDFs and any related tests and 
> CASSANDRA-17281 will be used for any UDF refactoring and addition of scripted 
> UDFs hooks. This will help us to speed up the incremental addition of JDK17 
> builds and enable people to test directly on trunk instead of having their 
> own modified branches. Feature branch was considered but considering all 
> moving parts that we have to maintain a few different branches in different 
> repos and states it is too time-consuming to maintain.
> Supportive ML thread where I will also post the result of this ticket for 
> final confirmation:
> [https://lists.apache.org/thread/c39yrbdszgz9s34vr17wpjdhv6h2oo61]
> *WARNING: The API for UDFs might change as part of CASSANDRA-17281 where 
> hooks will be introduced for JavaScript UDFs and some additional refactoring 
> is going to happen. This ticket primary goal is to clean the internals and 
> enable people to easily test with JDK17*



--
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