HIVE-7935: Support dynamic service discovery for HiveServer2 (Vaibhav Gumashta reviewed by Thejas Nair, Alan Gates)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1625363 13f79535-47bb-0310-9956-ffa450edef68