+ "/" + day + "/" + java.util.UUID.randomUUID().toString();
Metric metric = null;
String sql = String.format(sqlFormat, thedate);
HiveExecute hivexec=new HiveExecute();
hivexec.setConfdir(hdpConf);
hivexec.setStoreDir(store);
hivexec.setHql("INSERT OVERWRITE DIRECTORY '" + store +"' "+sql+"");
hivexec.setCallback(this);
hivexec.init();
hivexec.run();
Configuration hconf=new Configuration();
HadoopBaseUtils.grabConfiguration(hdpConf, hconf);
FileSystem fs = FileSystem.get(hconf);