> Is there a setting somewhere to automatically remove old temp files from >/tmp/hive/hive?
Yes, in Falcon's data retention (FALCON-870 <https://issues.apache.org/jira/browse/FALCON-870>) That's been backported as a hot-fix for those who need to enforce Calendar based retention policies from an admin interface. For example - with that patch, Falcon can be set up to delete files which have mtime older than 1 month and atime older than 1 week. On the other hand, these dirs are supposed to be cleaned up via FileSystem.deleteOnExit(). How long has your HiveServer2 been up & does restarting it delete these? If that works - are you using Hue as your query interface? (Hue does not use standard sessions). Cheers, Gopal