hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-23078) Remove HiveDriver SecurityManager Check
Date Thu, 26 Mar 2020 13:40:00 GMT

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

David Mollitor commented on HIVE-23078:
---------------------------------------

[~ngangam] Any thoughts on this?

> Remove HiveDriver SecurityManager Check
> ---------------------------------------
>
>                 Key: HIVE-23078
>                 URL: https://issues.apache.org/jira/browse/HIVE-23078
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-23078.1.patch
>
>
> {code:java|title=HiveDriver.java}
>   public HiveDriver() {
>     // TODO Auto-generated constructor stub
>     SecurityManager security = System.getSecurityManager();
>     if (security != null) {
>       security.checkWrite("foobah");
>     }
>   }
> {code}
> Not sure why it needs to write a file called "foobah" but I checked out some other JDBC
drivers and they do nothing like this.  Remove this check; remove the constructor.



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

Mime
View raw message