HIVE-5486 HiveServer2 should create base scratch directories at startup
Review Request #14523 - Created Oct. 8, 2013 and updated
With impersonation enabled, the same base directory is used by all sessions/queries. For a new deployment, this directory gets created on first invocation by the user running that session. This would cause directory permission conflict for other users. The patch is creating base scratch dirs at startup if it doesn't exist.
Added new test
Diff revision 4 (Latest)