You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2018/06/04 00:59:00 UTC

[jira] [Commented] (HIVE-19558) HiveAuthorizationProviderBase gets catalog name from config rather than db object

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

Hive QA commented on HIVE-19558:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12925993/HIVE-19558.1take8.patch

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11484/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11484/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11484/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Tests exited with: Exception: Patch URL https://issues.apache.org/jira/secure/attachment/12925993/HIVE-19558.1take8.patch was found in seen patch url's cache and a test was probably run already on it. Aborting...
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12925993 - PreCommit-HIVE-Build

> HiveAuthorizationProviderBase gets catalog name from config rather than db object
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-19558
>                 URL: https://issues.apache.org/jira/browse/HIVE-19558
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization
>    Affects Versions: 3.0.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Major
>             Fix For: 3.0.1
>
>         Attachments: HIVE-19558.1take2.patch, HIVE-19558.1take3.patch, HIVE-19558.1take4.patch, HIVE-19558.1take5.patch, HIVE-19558.1take6.patch, HIVE-19558.1take7.patch, HIVE-19558.1take8.patch, HIVE-19558.patch
>
>
> HiveAuthorizationProviderBase.getDatabase uses just the database name to fetch the database, relying on getDefaultCatalog() to fetch the catalog name from the conf file.  This does not work when the client has passed in an object for a different catalog.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)