use of org.apache.ignite.internal.processors.hadoop.HadoopTaskContext in project ignite by apache.
the class HadoopV2Job method cleanupTaskEnvironment.
/**
* {@inheritDoc}
*/
@Override
public void cleanupTaskEnvironment(HadoopTaskInfo info) throws IgniteCheckedException {
HadoopTaskContext ctx = ctxs.remove(new T2<>(info.type(), info.taskNumber())).get();
taskCtxClsPool.add(ctx.getClass());
File locDir = taskLocalDir(igniteWorkDirectory(), locNodeId, info);
if (locDir.exists())
U.delete(locDir);
}
Aggregations