Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.1
-
None
-
None
Description
When hive.exec.stagingdir is set to ".hive-staging", which will be placed under the target directory when running "INSERT OVERWRITE" query, Hive will grab all files under the staging directory and copy them ONE BY ONE to target directory.
When hive exec.stagingdir is set to "/tmp/hive", Hive will simply do a RENAME operation which will be instant.
This happens with files that are not encrypted.