private Map conf;
private QueryService queryServer;
private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
public UpdateService(String queryFrom) {
conf = Utils.readStormConfig("adhoc.yaml");
metricServer = new MetricService();
if(queryFrom.equals("hive")){
queryServer = new HiveQueryService(conf);
} else if(queryFrom.equals("higo")){
queryServer = new HigoQueryService(conf);
} else {