[
https://issues.apache.org/jira/browse/IMPALA-7439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon resolved IMPALA-7439.
---------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.1.0
> CREATE DATABASE creates a catalog entry with empty location field
> -----------------------------------------------------------------
>
> Key: IMPALA-7439
> URL: https://issues.apache.org/jira/browse/IMPALA-7439
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Major
> Fix For: Impala 3.1.0
>
>
> 'create database foobar' followed by 'describe database foobar' shows no
> location field for the newly created DB. If you then invalidate metadata, it
> will load the proper location upon a reload.
> It seems that the code for CREATE TABLE is currently working around this as
> ImpaladCatalog.getTablePath() actually ignores the location stored in the
> catalog entry and instead goes directly to the HMS to get the database
> location. It seems we should probably populate the catalog entry correctly
> upon creation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]