[
https://issues.apache.org/jira/browse/HIVE-12855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107373#comment-15107373
]
Sergey Shelukhin commented on HIVE-12855:
-----------------------------------------
Looks like this approach won't work in MiniLlap cluster because the embedded
daemon causes the global registration on the client, which causes AM to fail to
parse. Stupid Kryo needs a proper hook system... I think I will keep only the
global hook for now.
> LLAP: add checks when resolving UDFs to enforce whitelist
> ---------------------------------------------------------
>
> Key: HIVE-12855
> URL: https://issues.apache.org/jira/browse/HIVE-12855
> Project: Hive
> Issue Type: Sub-task
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Attachments: HIVE-12855.part.patch, HIVE-12855.patch
>
>
> Currently, adding a temporary UDF and calling LLAP with it (bypassing the
> LlapDecider check, I did it by just modifying the source) only fails because
> the class could not be found. If the UDF was accessible to LLAP, it would
> execute. Inside the daemon, UDF instantiation should fail for custom UDFs
> (and only succeed for whitelisted custom UDFs, once that is implemented).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)