public static StatsFactory newFactory(String configurationParam, Configuration conf) {
    StatsFactory factory = new StatsFactory(conf);
    if (factory.initialize(configurationParam.toLowerCase())) {
      return factory;
    }
    return null;
  }
Sets the paths of the implementation classes of publishing
and aggregation (IStatsPublisher and IStatsAggregator interfaces).
The paths are determined according to a configuration parameter which
is passed as the user input for choosing the implementation as MySQL, HBase, ...
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsFactory.java