Save the changes in ambari and restart the hive services , it will enable the GC logs writing at the restart.
Thanks for the following articles. I changed the GC file name similar to namenode GC logs and kept all the GC variables in single parameter for simplicity.