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

Naveen Gangam commented on HIVE-23078:
--------------------------------------

I dont think there is a need for the driver to perform this check, if it is 
indeed for that. So +1 for removing it.

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

Reply via email to