Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23078

Remove HiveDriver SecurityManager Check

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • JDBC
    • None

    Description

      HiveDriver.java
        public HiveDriver() {
          // TODO Auto-generated constructor stub
          SecurityManager security = System.getSecurityManager();
          if (security != null) {
            security.checkWrite("foobah");
          }
        }
      

      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.

      Attachments

        1. HIVE-23078.1.patch
          0.6 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: