[
https://issues.apache.org/jira/browse/HIVE-21640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16842405#comment-16842405
]
Grant Henke commented on HIVE-21640:
------------------------------------
Adding link to the code that is tied to a specific commit hash so the line
doesn't change as code does:
[https://github.com/apache/hive/blob/ec6af1bc775b8bb8807e6bcdb86afb05b11ac833/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L1967-L1987]
> Do not create (HD)FS directory when creating a table stored and managed by
> other systems
> ----------------------------------------------------------------------------------------
>
> Key: HIVE-21640
> URL: https://issues.apache.org/jira/browse/HIVE-21640
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 3.1.1, 2.3.4
> Reporter: Hao Hao
> Priority: Major
>
> When creating a table in HMS, a (HD)FS directory will be
> [created|https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L1983]
> even for the table even for table stored and managed by other systems
> specified by Hive Storage Handler. It is ideal to skip directory creation in
> such case (same for dropping a table).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)