Java Code Examples for org.apache.hadoop.fs.s3a.S3AFileSystem

The following examples show how to use org.apache.hadoop.fs.s3a.S3AFileSystem. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: Flink-CEPplus   Source File: HadoopS3AccessHelper.java    License: Apache License 2.0 5 votes vote down vote up
public HadoopS3AccessHelper(S3AFileSystem s3a, Configuration conf) {
	this.s3accessHelper = new InternalWriteOperationHelper(
			checkNotNull(s3a),
			checkNotNull(conf)
	);
	this.s3a = s3a;
}
 
Example 2
Source Project: flink   Source File: HadoopS3AccessHelper.java    License: Apache License 2.0 5 votes vote down vote up
public HadoopS3AccessHelper(S3AFileSystem s3a, Configuration conf) {
	this.s3accessHelper = new InternalWriteOperationHelper(
			checkNotNull(s3a),
			checkNotNull(conf)
	);
	this.s3a = s3a;
}
 
Example 3
Source Project: flink   Source File: HadoopS3AccessHelper.java    License: Apache License 2.0 5 votes vote down vote up
public HadoopS3AccessHelper(S3AFileSystem s3a, Configuration conf) {
	this.s3accessHelper = new InternalWriteOperationHelper(
			checkNotNull(s3a),
			checkNotNull(conf)
	);
	this.s3a = s3a;
}
 
Example 4
Source Project: Flink-CEPplus   Source File: HadoopS3AccessHelper.java    License: Apache License 2.0 4 votes vote down vote up
InternalWriteOperationHelper(S3AFileSystem owner, Configuration conf) {
	super(owner, conf);
}
 
Example 5
Source Project: Flink-CEPplus   Source File: S3FileSystemFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected org.apache.hadoop.fs.FileSystem createHadoopFileSystem() {
	return new S3AFileSystem();
}
 
Example 6
Source Project: Flink-CEPplus   Source File: S3FileSystemFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
protected S3AccessHelper getS3AccessHelper(FileSystem fs) {
	final S3AFileSystem s3Afs = (S3AFileSystem) fs;
	return new HadoopS3AccessHelper(s3Afs, s3Afs.getConf());
}
 
Example 7
Source Project: flink   Source File: HadoopS3AccessHelper.java    License: Apache License 2.0 4 votes vote down vote up
InternalWriteOperationHelper(S3AFileSystem owner, Configuration conf) {
	super(owner, conf);
}
 
Example 8
Source Project: flink   Source File: S3FileSystemFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected org.apache.hadoop.fs.FileSystem createHadoopFileSystem() {
	return new S3AFileSystem();
}
 
Example 9
Source Project: flink   Source File: S3FileSystemFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
protected S3AccessHelper getS3AccessHelper(FileSystem fs) {
	final S3AFileSystem s3Afs = (S3AFileSystem) fs;
	return new HadoopS3AccessHelper(s3Afs, s3Afs.getConf());
}
 
Example 10
Source Project: flink   Source File: HadoopS3AccessHelper.java    License: Apache License 2.0 4 votes vote down vote up
InternalWriteOperationHelper(S3AFileSystem owner, Configuration conf) {
	super(owner, conf);
}
 
Example 11
Source Project: flink   Source File: S3FileSystemFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected org.apache.hadoop.fs.FileSystem createHadoopFileSystem() {
	return new S3AFileSystem();
}
 
Example 12
Source Project: flink   Source File: S3FileSystemFactory.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable
@Override
protected S3AccessHelper getS3AccessHelper(FileSystem fs) {
	final S3AFileSystem s3Afs = (S3AFileSystem) fs;
	return new HadoopS3AccessHelper(s3Afs, s3Afs.getConf());
}