Class

org.apache.spark.sql.execution.streaming.HDFSMetadataLog

FileSystemManager

Related Doc: package HDFSMetadataLog

Permalink

class FileSystemManager extends FileManager

Implementation of FileManager using older FileSystem API. Note that this implementation cannot provide atomic renaming of paths, hence can lead to consistency issues. This should be used only as a backup option, when FileContextManager cannot be used.

Linear Supertypes
FileManager, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileSystemManager
  2. FileManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileSystemManager(path: Path, hadoopConf: Configuration)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def create(path: Path): FSDataOutputStream

    Permalink

    Create path, or throw exception if it already exists

    Create path, or throw exception if it already exists

    Definition Classes
    FileSystemManagerFileManager
  7. def delete(path: Path): Unit

    Permalink

    Recursively delete a path if it exists.

    Recursively delete a path if it exists. Should not throw exception if file doesn't exist.

    Definition Classes
    FileSystemManagerFileManager
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def exists(path: Path): Boolean

    Permalink

    Whether path exists

    Whether path exists

    Definition Classes
    FileSystemManagerFileManager
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isLocalFileSystem: Boolean

    Permalink

    Whether the file systme is a local FS.

    Whether the file systme is a local FS.

    Definition Classes
    FileSystemManagerFileManager
  16. def list(path: Path, filter: PathFilter): Array[FileStatus]

    Permalink

    List the files in a path that matches a filter.

    List the files in a path that matches a filter.

    Definition Classes
    FileSystemManagerFileManager
  17. def mkdirs(path: Path): Unit

    Permalink

    Make directory at the give path and all its parent directories as needed.

    Make directory at the give path and all its parent directories as needed.

    Definition Classes
    FileSystemManagerFileManager
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def open(path: Path): FSDataInputStream

    Permalink

    Open a file for reading, or throw exception if it does not exist.

    Open a file for reading, or throw exception if it does not exist.

    Definition Classes
    FileSystemManagerFileManager
  22. def rename(srcPath: Path, destPath: Path): Unit

    Permalink

    Rename a path.

    Rename a path. Note that this implementation is not atomic.

    Definition Classes
    FileSystemManagerFileManager
    Exceptions thrown

    FileAlreadyExistsException if destination path already exists.

    FileNotFoundException if source path does not exist.

    IOException if renaming fails for some unknown reason.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FileManager

Inherited from AnyRef

Inherited from Any

Ungrouped