Context context) throws IOException , InterruptedException {
DirectOutputGroup group = (DirectOutputGroup) key.getGroupObject().getObject();
String path = variables.parse(group.getPath(), false);
String id = repository.getRelatedId(path);
OutputAttemptContext outputContext = HadoopDataSourceUtil.createContext(context, id);
DataDefinition definition = SimpleDataDefinition.newInstance(
group.getDataType(),
configure(context, group.getFormat()));
DirectDataSource datasource = repository.getRelatedDataSource(path);
String basePath = repository.getComponentPath(path);
String resourcePath = variables.parse(group.getResourcePath());