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

Creating a new HiveConnection does not handle the case when properties are supplied separately from connection string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • None
    • JDBC
    • None

    Description

      While creating a new connection: HiveConnection(String uri, Properties info), the Properties hash can also be used to specify connection properties. When username / password is specified in Properties, the current logic uses that, w/o checking the values in connection string. However, a comment in the code says it should not be like that:
      // extract user/password from JDBC connection properties if its not supplied in the connection URL
      Also, it is possible for Properties to contain other keys and they should be handled properly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vgumashta Vaibhav Gumashta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: