hive-issues mailing list archives

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


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?
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:
>             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

View raw message