Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-85

The JDBC connection from hive test framework should use a userid that's supported by default test resource

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      The test framework for Hive tests starts a HiveServer2 and checks if the server is in usable state. This is done by attempting a JDBC connection to the server. Currently it does that as user 'hive'. This user doesn't any privileges in the default policy file used in the tests.
      Hive JDBC driver now implicitly switches the database to one specified by the connection URL (HIVE-4256). This causes leads to the test framework problem since the test user 'hive' doesn't have privileges to execute 'use default'

        Attachments

        1. SENTRY-85.1.patch
          0.9 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Suresh Mujumdar
                Reporter:
                prasadm Prasad Suresh Mujumdar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: