lastConf = job;
DataStorage store = new HDataStorage(ConfigurationUtil.toProperties(job));
// if the execution is against Mapred DFS, set
// working dir to /user/<userid>
if(execType == ExecType.MAPREDUCE)
store.setActiveContainer(store.asContainer("/user/" + job.getUser()));
PigContext.setPackageImportList((ArrayList<String>)ObjectSerializer.deserialize(job.get("udf.import.list")));
List<String> inpSignatureLists = (ArrayList<String>)ObjectSerializer.deserialize(job.get("pig.inpSignatures"));
if (inpSignatureLists.get(index)!=null) {
// Pass loader signature to slice
store.getConfiguration().setProperty("pig.loader.signature", inpSignatureLists.get(index));