Java 类org.apache.hadoop.fs.s3native.NativeS3FileSystem 实例源码

项目:hadoop-s3    文件:IxDirectFileOutputCommitter.java   
private boolean directWriteEnabled(JobConf conf) throws IOException {
    Path p;
    if((p = FileOutputFormat.getOutputPath(conf)) == null) {
        return false;
    } else {
        return p.getFileSystem(conf) instanceof NativeS3FileSystem;
    }
}
项目:hadoop-s3    文件:IxS3FileSystem.java   
public IxS3FileSystem(NativeS3FileSystem fileSystem) {
    nativeFS = fileSystem;
}
项目:hadoop-s3    文件:IxS3FileSystem.java   
public IxS3FileSystem() {
    nativeFS = new NativeS3FileSystem();
}
项目:hadoop-s3    文件:S3NativeFS.java   
public S3NativeFS(URI theUri, Configuration conf) throws IOException, URISyntaxException {
    super(theUri, new NativeS3FileSystem(), conf, "s3n", false);
}
项目:hadoop-s3    文件:IxDirectFileOutputCommitter.java   
private boolean isDirectWrite(JobContext jc, Path outputPath) throws IOException {
    return outputPath.getFileSystem(jc.getConfiguration()) instanceof NativeS3FileSystem;
}
项目:dfs-datastores    文件:Pail.java   
@Override
protected boolean isS3Root() {
    return _fs instanceof NativeS3FileSystem || _fs instanceof S3FileSystem;
}