[ https://issues.apache.org/jira/browse/CASSANDRA-7874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122864#comment-14122864 ]
Robert Stupp edited comment on CASSANDRA-7874 at 9/5/14 12:52 PM: ------------------------------------------------------------------ Successfully validated these JSR-223 implementations for UDFs: * Groovy v2.3.6 * JRuby 1.7.15 * Jython 2.5.3 * Scala 2.11.2 These JSR-223 implementations do not work: * Clojure 1.5.1/1.6 : not working compilable script support in JSR-223 implementation * Jaskell 1.0 : seems to be unmaintained since 7 or 8 yrs (accoring to https://java.net/projects/scripting/sources/svn/show/trunk/engines/jaskell?rev=236) I've introduced some directories below {{lib/}} to keep scripting engine jars separate from C* jars. Directory structure is like this: {noformat} lib/jsr223/clojure lib/jsr223/groovy lib/jsr223/jaskell lib/jsr223/jruby lib/jsr223/jython lib/jsr223/scala {noformat} Each of these directories contains a {{README.txt}} with instructions how to install those scripting engines or why they do not work. {{cassandra.in.sh}} has been modified to scan all directories below {{lib/jsr223}} for jar files to add to C* daemon classpath. Additionally JRuby, Jython and Scala require some system properties, which are added, if these scripting languages are detected. was (Author: snazy): Successfully validated these JSR-223 implementations for UDFs: * Groovy v2.3.6 * JRuby 1.7.15 * Jython 2.5.3 * Scala 2.11.2 These JSR-223 implementations do not work: * Clojure 1.5.1/1.6 : not working compilable script support in JSR-223 implementation * Jaskell 1.0 : seems to be unmaintained since 7 or 8 yrs I've introduced some directories below {{lib/}} to keep scripting engine jars separate from C* jars. Directory structure is like this: {noformat} lib/jsr223/clojure lib/jsr223/groovy lib/jsr223/jaskell lib/jsr223/jruby lib/jsr223/jython lib/jsr223/scala {noformat} Each of these directories contains a {{README.txt}} with instructions how to install those scripting engines or why they do not work. {{cassandra.in.sh}} has been modified to scan all directories below {{lib/jsr223}} for jar files to add to C* daemon classpath. Additionally JRuby, Jython and Scala require some system properties, which are added, if these scripting languages are detected. > Validate functionality of different JSR-223 providers in UDFs > ------------------------------------------------------------- > > Key: CASSANDRA-7874 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7874 > Project: Cassandra > Issue Type: Task > Components: Core > Reporter: Robert Stupp > Assignee: Robert Stupp > Labels: udf > Attachments: 7874.txt > > > CASSANDRA-7526 introduces ability to support optional JSR-223 providers like > Clojure, Jython, Groovy or JRuby. > This ticket is about to test functionality with these providers but not to > include them in C* distribution. > Expected result is a "how to" document, wiki page or similar. -- This message was sent by Atlassian JIRA (v6.3.4#6332)