sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-85) The JDBC connection from hive test framework should use a userid that's supported by default test resource
Date Fri, 10 Jan 2014 00:20:50 GMT

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

Shreepadma Venugopalan commented on SENTRY-85:
----------------------------------------------

Committed to master. Thanks Prasad for your contribution!

> The JDBC connection from hive test framework should use a userid that's supported by
default test resource
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-85
>                 URL: https://issues.apache.org/jira/browse/SENTRY-85
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>         Attachments: SENTRY-85.1.patch
>
>
> 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'



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message