public boolean isLeader() {
    return isLeader.get();
  }
For a kerberized cluster, we dynamically set up the client's JAAS conf.

@param hiveConf
@return
@throws Exception
service/src/java/org/apache/hive/service/server/HiveServer2.java