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

Remove Scripted UDFs from trunk to enable easier JDK17 testing on current trunk

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • Feature/UDF
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              e.dimitrova Ekaterina Dimitrova
              e.dimitrova Ekaterina Dimitrova
              Ekaterina Dimitrova
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: