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

[jira] [Assigned] (HIVE-23078) Remove HiveDriver SecurityManager Check

     [ https://issues.apache.org/jira/browse/HIVE-23078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Mollitor reassigned HIVE-23078:
-------------------------------------


> 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
>
> {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)