HIVE-4500 Ensure that HiveServer 2 closes log files.


git-svn-id: https://svn.apache.org/repos/asf/hive/branches/branch-0.11@1480385 13f79535-47bb-0310-9956-ffa450edef68