You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mike Thomsen (JIRA)" <ji...@apache.org> on 2019/02/01 14:39:00 UTC

[jira] [Created] (NIFI-5995) Update ScriptedLookupService documentation about Jython issues

Mike Thomsen created NIFI-5995:
----------------------------------

             Summary: Update ScriptedLookupService documentation about Jython issues
                 Key: NIFI-5995
                 URL: https://issues.apache.org/jira/browse/NIFI-5995
             Project: Apache NiFi
          Issue Type: Task
            Reporter: Mike Thomsen
            Assignee: Mike Thomsen


From nifi-user:
{quote}Short answer: Unfortunately this is not currently possible for Jython
 in NiFi 1.7.0+ because of a Jython bug [1] that never made it into a
 release.
 
 Longer answer: NIFI-5287 [2], released as part of NiFi 1.7.0,
 introduced a new default interface method for LookupService, in order
 to avoid breaking API compatibility for those with custom
 LookupServices. This exposes the bug in [1] for the Jython script
 engine. At a major release point (NiFi 2.0) we could refactor the NiFi
 codebase to remove the default interface method, update all internal
 implementations, and announce that the LookupService API has changed
 and thus custom implementations would have to be updated. Not sure if
 we can get away with that for minor releases or not, usually breaking
 API compatibility is a no-no except for major releases.
{quote}
[1] [https://bugs.jython.org/issue2403]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)