[
https://issues.apache.org/jira/browse/HIVE-18478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
mahesh kumar behera updated HIVE-18478:
---------------------------------------
Status: Patch Available (was: Open)
In case of drop table, truncate table, load table etc, the table info is
deleted which can cause issues during replication. To solve this, the old files
are stored in the CM directory to be used by replication later. But for
temporary tables, replication is not done and thus these files creation is not
required. So extra checks are added to avoid creation of recycle files in case
of temp tables.
> Drop of temp table creating recycle files at CM path
> ----------------------------------------------------
>
> Key: HIVE-18478
> URL: https://issues.apache.org/jira/browse/HIVE-18478
> Project: Hive
> Issue Type: Sub-task
> Components: Hive, HiveServer2
> Reporter: mahesh kumar behera
> Assignee: mahesh kumar behera
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0
>
>
> Drop TEMP table operation invokes deleteDir which moves the file to $CMROOT
> which is not needed as temp tables need not be replicated
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)