You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "xiepengjie (Jira)" <ji...@apache.org> on 2021/03/03 16:22:00 UTC

[jira] [Commented] (HIVE-24749) Disable user's UDF use SystemExit

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

xiepengjie commented on HIVE-24749:
-----------------------------------

[~okumin] , thanks for you to take a look, maybe we can fix it like this: [https://www.javacodegeeks.com/2013/11/preventing-system-exit-calls.html]

> Disable user's UDF use SystemExit
> ---------------------------------
>
>                 Key: HIVE-24749
>                 URL: https://issues.apache.org/jira/browse/HIVE-24749
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: All Versions
>            Reporter: xiepengjie
>            Assignee: xiepengjie
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If the System.exit() is executed in the user's UDF and using default SecurityManager, it will cause the HS2 service process to exit, that's too bad.
> It is safer to use NoExitSecurityManager which can intercepting System.exit().



--
This message was sent by Atlassian Jira
(v8.3.4#803005)