List of usage examples for org.apache.hadoop.fs FileSystem subclass-usage
From source file org.apache.drill.exec.store.ClassPathFileSystem.java
public class ClassPathFileSystem extends FileSystem { static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(ClassPathFileSystem.class); static final String ERROR_MSG = "ClassPathFileSystem is read only."; private Path working;
From source file org.apache.drill.exec.store.dfs.DrillFileSystem.java
/**
* DrillFileSystem is the wrapper around the actual FileSystem implementation.
*
* If {@link org.apache.drill.exec.ops.OperatorStats} are provided it returns an instrumented FSDataInputStream to
* measure IO wait time and tracking file open/close operations.
*/
From source file org.apache.drill.exec.store.LocalSyncableFileSystem.java
/** * This class provides a Syncable local extension of the hadoop FileSystem */ public class LocalSyncableFileSystem extends FileSystem { @Override
From source file org.apache.falcon.hadoop.JailedFileSystem.java
/** * chroot local file system for tests. */ public class JailedFileSystem extends FileSystem { private URI uri; private String basePath;
From source file org.apache.flume.sink.customhdfs.MockFileSystem.java
public class MockFileSystem extends FileSystem { private static final Logger logger = LoggerFactory.getLogger(MockFileSystem.class); FileSystem fs; int numberOfRetriesRequired;
From source file org.apache.flume.sink.hdfs.MockFileSystem.java
public class MockFileSystem extends FileSystem { private static final Logger logger = LoggerFactory.getLogger(MockFileSystem.class); FileSystem fs; int numberOfClosesRequired;
From source file org.apache.flume.sink.hdfs.MockFileSystemCloseRetryWrapper.java
public class MockFileSystemCloseRetryWrapper extends FileSystem { private static final Logger logger = LoggerFactory.getLogger(MockFileSystemCloseRetryWrapper.class); FileSystem fs; int numberOfClosesRequired;
From source file org.apache.gobblin.source.extractor.extract.google.GoogleDriveFileSystem.java
/**
* A {@link FileSystem} implementation that provides the {@link FileSystem} interface for an Google Drive server.
* <ul>
* <li>Note that {@link GoogleDriveFileSystem} currently only supports list, get, delete use cases.
* <li>Google drive has two different identifier. File ID and File name -- where folder is just different mime-type of File.
* As File name can be duplicate under same folder, all path that GoogleDriveFileSystem takes assumes that it's a File ID.
From source file org.apache.gobblin.source.extractor.extract.sftp.SftpLightWeightFileSystem.java
/**
* A {@link FileSystem} implementation that provides the {@link FileSystem} interface for an SFTP server. Uses
* {@link SftpFsHelper} internally to connect to the SFPT server. {@link HadoopUtils#newConfiguration()}
* <ul>
* <li>It is the caller's responsibility to call {@link #close()} on this {@link FileSystem} to disconnect the session.
* <li>Use {@link HadoopUtils#newConfiguration()} when creating a {@link FileSystem} with
From source file org.apache.gobblin.util.filesystem.FileSystemDecorator.java
/** * This is a decorator for {@link FileSystem} that allows optionally changing scheme. * * Note subclasses must set the underlying {@link FileSystem} at {@link #underlyingFs} as necessary. */ class FileSystemDecorator extends FileSystem implements Decorator {