hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20387) Move non-server related methods from Warehouse to MetastoreUtils
Date Thu, 16 Aug 2018 16:40:00 GMT

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

Alan Gates commented on HIVE-20387:
-----------------------------------

{quote}This also means that default names for catalog and database should move to MetastoreUtil. [~alangates] Do
you see any issues with that?
{quote}
Moving the default names to MetastoreUtil is fine.  I'd be tempted to put them in a new Defaults
class or something, but MetastoreUtils is ok.

One thought while you're moving things around.  Warehouse contains both logical things (like
default catalog name) and physical things (like how to map a dbname to a path).  It may make
sense to separate those out.

> Move non-server related methods from Warehouse to MetastoreUtils
> ----------------------------------------------------------------
>
>                 Key: HIVE-20387
>                 URL: https://issues.apache.org/jira/browse/HIVE-20387
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Standalone Metastore
>    Affects Versions: 3.0.1, 4.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Alexander Kolbasov
>            Priority: Major
>         Attachments: HIVE-20387.01.patch
>
>
> Most of the functions in Warehouse class are only relevant for the server. There are
some utility methods that are there that we can move to MetastoreUtils - these are used outside
of the server.



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

Mime
View raw message