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

Matt Burgess commented on NIFI-210:
-----------------------------------

[~akoval] I briefly looked into this today:
 * Scala 2.12+ causes an issue with our documentation generator saying "the 
object List does not have method apply". I believe this indicates that there's 
a "List" object in the Scala libraries that collides with the Java List object 
somehow.
 * For Scala 2.11.x I am getting the error about the compiler mirror here: 
[https://henning.kropponline.de/2016/04/17/scripting-scala-jsr-223/] but 
programmatically setting the value on the engine does not seem to work.
 * Scala 2.11.x dependencies adds 23 MB to the NAR, and we're already at size 
capacity for the NARs we can package with the NiFi convenience binary.

That being said I don't have an issue with including Scala per se, it just 
needs to work well (to include no memory leaks such as were mentioned on the 
Pull Request) and not add too many dependencies to the resulting NAR.

> Support processor implementation across several programming languages
> ---------------------------------------------------------------------
>
>                 Key: NIFI-210
>                 URL: https://issues.apache.org/jira/browse/NIFI-210
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Core Framework
>            Reporter: A. Steven Anderson
>            Assignee: Matt Burgess
>            Priority: Major
>              Labels: processor
>             Fix For: 0.5.0
>
>         Attachments: 
> 0001-NIFI-210-few-tweaks-to-drop-static-reference-and-fix.patch, 
> Fun_with_Scripting_Languages.xml, flow.xml.gz
>
>
> Should also support Clojure as per discussion and request on mailing list 
> http://mail-archives.apache.org/mod_mbox/nifi-dev/201506.mbox/%3CCAMpSqch4GK1gnw6M1u8tH6AN8e_miXZN5SNkAeMjBujXYGqJiw%40mail.gmail.com%3E
> UPDATE: The ScriptEngine for Clojure is not being maintained and is not 
> currently available via Maven Central or a public repository. Recommend 
> adding Clojure as a separate Improvement Jira case.
> UPDATE: Scala support proved too buggy using plain script engine.   Needs 
> much further analysis/review/testing before inclusion.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to