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

Arina Ielchiieva commented on DRILL-4995:
-----------------------------------------

Correct. Let's say we have enabled dynamic UDFs support, loaded several 
functions and then disabled it back. so no one can load functions any more. But 
already dynamically loaded functions should be available. That's why we decided 
to allow lazy-init even if dynamic UDFs support is disabled, i.e. disabled 
dynamic UDFs support only disallows to dynamically create functions anymore, 
other functionality will be accessible anyway.


> Allow lazy init when dynamic UDF support is disabled
> ----------------------------------------------------
>
>                 Key: DRILL-4995
>                 URL: https://issues.apache.org/jira/browse/DRILL-4995
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.9.0
>            Reporter: Roman
>            Assignee: Arina Ielchiieva
>              Labels: ready-to-commit
>             Fix For: Future
>
>
> Steps in 2 nodes cluster:
> In 1st node:
> 1. Register jar
> 2. Run function (success)
> 3. Disable dynamic UDF support 
> 4. Run function again (success)
> In 2nd node:
> 5. Try to run function (failed).
> In 1st node the function was initialized before disabling dynamic UDF 
> support. But in 2nd node the function was not initialized. So It seems we 
> need to allow lazy initialization when dynamic UDF support is disabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to