AMBARI-8193. set HiveServer2 permgen space limit to 512 MB.