public abstract class HadoopFileSystemLogStore extends LogStore
LogStore for Hadoop FileSystem implementations.| Constructor and Description |
|---|
HadoopFileSystemLogStore(org.apache.hadoop.conf.Configuration hadoopConf) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<org.apache.hadoop.fs.FileStatus> |
listFrom(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration hadoopConf)
:: DeveloperApi ::
List the paths in the same directory that are lexicographically greater or equal to
(UTF-8 sorting) the given `path`.
|
CloseableIterator<String> |
read(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration hadoopConf)
:: DeveloperApi ::
Load the given file and return an `Iterator` of lines, with line breaks removed from each line.
|
org.apache.hadoop.fs.Path |
resolvePathOnPhysicalStorage(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration hadoopConf)
:: DeveloperApi ::
Resolve the fully qualified path for the given `path`.
|
initHadoopConf, isPartialWriteVisible, writepublic HadoopFileSystemLogStore(org.apache.hadoop.conf.Configuration hadoopConf)
public CloseableIterator<String> read(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration hadoopConf) throws java.io.IOException
LogStorepublic java.util.Iterator<org.apache.hadoop.fs.FileStatus> listFrom(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration hadoopConf)
throws java.io.IOException
LogStorepublic org.apache.hadoop.fs.Path resolvePathOnPhysicalStorage(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration hadoopConf)
throws java.io.IOException
LogStoreresolvePathOnPhysicalStorage in class LogStorejava.io.IOException - if there's an issue resolving the FileSystem