GitHub user maheshk114 opened a pull request:
https://github.com/apache/hive/pull/298
HIVE-18478: Avoiding creation of CM recycle file in case of temp table
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maheshk114/hive HIVE-18478
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/298.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #298
----
commit 2a5dd87618c1a323a230eafe1906a7ad8b9e7af7
Author: Mahesh Kumar Behera <mbehera@...>
Date: 2018-01-25T16:06:27Z
HIVE-18478: Avoiding creation of CM recycle file in case of temp table
----
---