hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19576) IHMSHandler.getTable not always fetching the right catalog
Date Fri, 25 May 2018 13:34:00 GMT

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

Hive QA commented on HIVE-19576:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12924795/HIVE-19576.1take5.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 14390 tests passed

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12924795 - PreCommit-HIVE-Build

> IHMSHandler.getTable not always fetching the right catalog
> ----------------------------------------------------------
>
>                 Key: HIVE-19576
>                 URL: https://issues.apache.org/jira/browse/HIVE-19576
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 3.0.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Major
>             Fix For: 3.0.1
>
>         Attachments: HIVE-19576.1take2.patch, HIVE-19576.1take3.patch, HIVE-19576.1take4.patch,
HIVE-19576.1take5.patch, HIVE-19576.patch
>
>
> {{IHMSHandler.get_table_core(String dbName, String tableName)}} fetches the catalog name
from the conf.  This causes issues when doing an operation where the catalog is known and
does not match the default provided in the configuration file (e.g. adding a partition). 
This method should be removed and callers forced to use {{IHMSHandler.get_table_core(String
catName, String dbName, String tableName)}} instead since callers will know whether they have
the catalog name or not.



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

Mime
View raw message