You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Shreepadma Venugopalan (JIRA)" <ji...@apache.org> on 2014/01/09 23:53:51 UTC

[jira] [Commented] (SENTRY-85) The JDBC connection from hive test framework should use a userid that's supported by default test resource

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

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

+1.

> 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)