com.sap.hana.datalake.files.HdlfsCommitterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sap-hdlfs Show documentation
Show all versions of sap-hdlfs Show documentation
An implementation of org.apache.hadoop.fs.FileSystem targeting SAP HANA Data Lake Files.
// © 2022 SAP SE or an SAP affiliate company. All rights reserved.
package com.sap.hana.datalake.files;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import org.apache.hadoop.mapreduce.lib.output.PathOutputCommitter;
import org.apache.hadoop.mapreduce.lib.output.PathOutputCommitterFactory;
import java.io.IOException;
public class HdlfsCommitterFactory extends PathOutputCommitterFactory {
@Override
public PathOutputCommitter createOutputCommitter(final Path outputPath, final TaskAttemptContext context) throws IOException {
return new HdlfsOutputCommitter(outputPath, context);
}
}
// © 2022 SAP SE or an SAP affiliate company. All rights reserved.