David Mollitor created HIVE-23078:
-------------------------------------

             Summary: 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


{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