public StatsPublisher getStatsPublisher() {

    return (StatsPublisher) ReflectionUtils.newInstance(publisherImplementation, jobConf);
  }
Returns a Stats publisher implementation class for the IStatsPublisher interface
For example HBaseStatsPublisher for the HBase implementation
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsFactory.java