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);