cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7874) Validate functionality of different JSR-223 providers in UDFs
Date Fri, 05 Sep 2014 12:29:28 GMT

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

Robert Stupp updated CASSANDRA-7874:
------------------------------------
    Attachment: 7874.txt

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)

Mime
View raw message