Uses of Class
org.apache.hadoop.fs.FileStatus
Packages that use FileStatus
Package
Description
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web.Supporting classes for metrics instrumentation.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
A distributed implementation of
FileSystem for reading and writing files on
Azure Storage.This package contains implementation classes for use inside
filesystems.
ViewFileSystem and ViewFileSystemOverloadScheme classes.
Support for dynamic access to filesystem operations which are not available
in older hadoop releases.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of FileStatus in org.apache.hadoop.filecache
Methods in org.apache.hadoop.filecache that return FileStatusModifier and TypeMethodDescriptionstatic FileStatusDistributedCache.getFileStatus(Configuration conf, URI cache) Deprecated. -
Uses of FileStatus in org.apache.hadoop.fs
Classes in org.apache.hadoop.fs with type parameters of type FileStatusModifier and TypeClassDescriptionclassPartialListing<T extends FileStatus>A partial listing of the children of a parent directory.Subclasses of FileStatus in org.apache.hadoop.fsModifier and TypeClassDescriptionclassThis class defines a FileStatus that includes a file's block locations.Methods in org.apache.hadoop.fs that return FileStatusModifier and TypeMethodDescriptionAbstractFileSystem.getFileLinkStatus(Path f) The specification of this method matches that ofFileContext.getFileLinkStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path leading up to the final path component.FileContext.getFileLinkStatus(Path f) Return a file status object that represents the path.FileSystem.getFileLinkStatus(Path f) FilterFileSystem.getFileLinkStatus(Path f) LocalFileSystem.getFileLinkStatus(Path f) RawLocalFileSystem.getFileLinkStatus(Path f) Return a FileStatus representing the given path.abstract FileStatusAbstractFileSystem.getFileStatus(Path f) The specification of this method matches that ofFileContext.getFileStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.FileContext.getFileStatus(Path f) Return a file status object that represents the path.abstract FileStatusFileSystem.getFileStatus(Path f) Return a file status object that represents the path.FilterFileSystem.getFileStatus(Path f) Get file status.RawLocalFileSystem.getFileStatus(Path f) FileSystem.globStatus(Path pathPattern) Return all the files that match filePattern and are not checksum files.FileSystem.globStatus(Path pathPattern, PathFilter filter) Return an array ofFileStatusobjects whose path names matchpathPatternand is accepted by the user-supplied path filter.abstract FileStatus[]AbstractFileSystem.listStatus(Path f) The specification of this method matches that ofFileContext.Util.listStatus(Path)except that Path f must be for this file system.ChecksumFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.abstract FileStatus[]FileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.FileSystem.listStatus(Path[] files) Filter files/directories in the given list of paths using default path filter.FileSystem.listStatus(Path[] files, PathFilter filter) Filter files/directories in the given list of paths using user-supplied path filter.FileSystem.listStatus(Path f, PathFilter filter) Filter files/directories in the given path using the user-supplied path filter.FilterFileSystem.listStatus(Path f) List files in a directory.RawLocalFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.Methods in org.apache.hadoop.fs that return types with arguments of type FileStatusModifier and TypeMethodDescriptionorg.apache.hadoop.fs.RemoteIterator<PartialListing<FileStatus>>BatchListingOperations.batchedListStatusIterator(List<Path> paths) Batched listing API that returnsPartialListings for the passed Paths.FileSystem.getTrashRoots(boolean allUsers) Get all the trash roots for current user or all users.FilterFileSystem.getTrashRoots(boolean allUsers) org.apache.hadoop.fs.RemoteIterator<FileStatus>FileContext.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.org.apache.hadoop.fs.RemoteIterator<FileStatus>AbstractFileSystem.listStatusIterator(Path f) The specification of this method matches that ofFileContext.listStatus(Path)except that Path f must be for this file system.org.apache.hadoop.fs.RemoteIterator<FileStatus>ChecksumFileSystem.listStatusIterator(Path p) org.apache.hadoop.fs.RemoteIterator<FileStatus>FileSystem.listStatusIterator(Path p) Returns a remote iterator so that followup calls are made on demand while consuming the entries.org.apache.hadoop.fs.RemoteIterator<FileStatus>FilterFileSystem.listStatusIterator(Path f) Return a remote iterator for listing in a directoryMethods in org.apache.hadoop.fs with parameters of type FileStatusModifier and TypeMethodDescriptionintFileStatus.compareTo(FileStatus o) Compare this FileStatus to another FileStatus based on lexicographical order of path.intLocatedFileStatus.compareTo(FileStatus o) Compare this FileStatus to another FileStatusstatic booleanFileUtil.copy(FileSystem srcFS, FileStatus srcStatus, FileSystem dstFS, Path dst, boolean deleteSource, boolean overwrite, Configuration conf) Copy a file/directory tree within/between filesystems.protected PathHandleFileSystem.createPathHandle(FileStatus stat, org.apache.hadoop.fs.Options.HandleOpt... opt) Hook to implement support forPathHandleoperations.protected PathHandleFilterFileSystem.createPathHandle(FileStatus stat, org.apache.hadoop.fs.Options.HandleOpt... opts) protected PathHandleRawLocalFileSystem.createPathHandle(FileStatus stat, org.apache.hadoop.fs.Options.HandleOpt... opts) Hook to implement support forPathHandleoperations.FileSystem.getFileBlockLocations(FileStatus file, long start, long len) Return an array containing hostnames, offset and size of portions of the given file.FilterFileSystem.getFileBlockLocations(FileStatus file, long start, long len) final PathHandleFileSystem.getPathHandle(FileStatus stat, org.apache.hadoop.fs.Options.HandleOpt... opt) Create a durable, serializable handle to the referent of the given entity.static Path[]FileUtil.stat2Paths(FileStatus[] stats) convert an array of FileStatus to an array of Pathstatic Path[]FileUtil.stat2Paths(FileStatus[] stats, Path path) convert an array of FileStatus to an array of Path.default FutureDataInputStreamBuilderFutureDataInputStreamBuilder.withFileStatus(FileStatus status) A FileStatus may be provided to the open request.Constructors in org.apache.hadoop.fs with parameters of type FileStatusModifierConstructorDescriptionFileStatus(FileStatus other) Copy constructor.LocatedFileStatus(FileStatus stat, BlockLocation[] locations) Constructor -
Uses of FileStatus in org.apache.hadoop.fs.adl
Methods in org.apache.hadoop.fs.adl that return FileStatusModifier and TypeMethodDescriptionAdlFileSystem.getFileStatus(Path f) Return a file status object that represents the path.AdlFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory. -
Uses of FileStatus in org.apache.hadoop.fs.azure
Methods in org.apache.hadoop.fs.azure that return FileStatusModifier and TypeMethodDescriptionNativeAzureFileSystem.getFileStatus(Path path) Deprecated.NativeAzureFileSystem.listStatus(Path path) Deprecated. -
Uses of FileStatus in org.apache.hadoop.fs.azurebfs
Methods in org.apache.hadoop.fs.azurebfs that return FileStatusModifier and TypeMethodDescriptionAzureBlobFileSystemStore.getFileStatus(Path path, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) AzureBlobFileSystemStore.listStatus(Path path, String startFrom, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) AzureBlobFileSystemStore.listStatus(Path path, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) Method parameters in org.apache.hadoop.fs.azurebfs with type arguments of type FileStatusModifier and TypeMethodDescriptionAzureBlobFileSystemStore.listStatus(Path path, String startFrom, List<FileStatus> fileStatuses, boolean fetchAll, String continuation, org.apache.hadoop.fs.azurebfs.utils.TracingContext tracingContext) -
Uses of FileStatus in org.apache.hadoop.fs.ftp
Methods in org.apache.hadoop.fs.ftp that return FileStatusModifier and TypeMethodDescriptionFTPFileSystem.getFileStatus(Path file) FTPFileSystem.listStatus(Path file) -
Uses of FileStatus in org.apache.hadoop.fs.http.client
Methods in org.apache.hadoop.fs.http.client with parameters of type FileStatusModifier and TypeMethodDescriptionstatic HttpFSFileSystem.FILE_TYPEHttpFSFileSystem.FILE_TYPE.getType(FileStatus fileStatus) -
Uses of FileStatus in org.apache.hadoop.fs.impl
Methods in org.apache.hadoop.fs.impl that return FileStatusModifier and TypeMethodDescriptionprotected FileStatusFutureDataInputStreamBuilderImpl.getStatus()Get any status set inFutureDataInputStreamBuilderImpl.withFileStatus(FileStatus).Methods in org.apache.hadoop.fs.impl with parameters of type FileStatus -
Uses of FileStatus in org.apache.hadoop.fs.viewfs
Methods in org.apache.hadoop.fs.viewfs that return FileStatusModifier and TypeMethodDescriptionViewFs.getFileLinkStatus(Path f) ViewFileSystem.getFileStatus(Path f) Return a file status object that represents the path.ViewFs.getFileStatus(Path f) The specification of this method matches that ofFileContext.getFileStatus(Path)except that an UnresolvedLinkException may be thrown if a symlink is encountered in the path.ViewFileSystem.listStatus(Path f) List the statuses of the files/directories in the given path if the path is a directory.ViewFs.listStatus(Path f) The specification of this method matches that ofFileContext.Util.listStatus(Path)except that Path f must be for this file system.Methods in org.apache.hadoop.fs.viewfs that return types with arguments of type FileStatusModifier and TypeMethodDescriptionViewFileSystem.getTrashRoots(boolean allUsers) Get all the trash roots for current user or all users.org.apache.hadoop.fs.RemoteIterator<FileStatus>ViewFs.listStatusIterator(Path f) Methods in org.apache.hadoop.fs.viewfs with parameters of type FileStatusModifier and TypeMethodDescriptionViewFileSystem.getFileBlockLocations(FileStatus fs, long start, long len) -
Uses of FileStatus in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return FileStatusMethods in org.apache.hadoop.hdfs.server.namenode with parameters of type FileStatusModifier and TypeMethodDescriptionBlockResolver.blockLengths(FileStatus status) FixedBlockResolver.blockLengths(FileStatus s) longUGIResolver.getPermissionsProto(FileStatus remoteStatus, AclStatus remoteAcl) Get the serialized, local permissions for the externalFileStatusorAclStatus.abstract intBlockResolver.getReplication(FileStatus status) intFixedBlockMultiReplicaResolver.getReplication(FileStatus s) intFixedBlockResolver.getReplication(FileStatus s) voidAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat) Called to log an audit event.abstract voidDefaultAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus status, CallerContext callerContext, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) abstract voidDefaultAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus status, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) voidHdfsAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus status) abstract voidHdfsAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat, CallerContext callerContext, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) Same asHdfsAuditLogger.logAuditEvent(boolean, String, InetAddress, String, String, String, FileStatus)with additional parameters related to logging delegation token tracking IDs.abstract voidHdfsAuditLogger.logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat, UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager) longBlockResolver.preferredBlockSize(FileStatus status) longFixedBlockResolver.preferredBlockSize(FileStatus s) Iterable<org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.BlockProto>BlockResolver.resolve(FileStatus s) longUGIResolver.resolve(FileStatus s) Constructors in org.apache.hadoop.hdfs.server.namenode with parameters of type FileStatusModifierConstructorDescriptionTreePath(FileStatus stat, long parentId, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i) TreePath(FileStatus stat, long parentId, org.apache.hadoop.hdfs.server.namenode.TreeWalk.TreeIterator i, FileSystem fs, AclStatus acls) -
Uses of FileStatus in org.apache.hadoop.io.wrappedio
Methods in org.apache.hadoop.io.wrappedio with parameters of type FileStatusModifier and TypeMethodDescriptionstatic FSDataInputStreamWrappedIO.fileSystem_openFile(FileSystem fs, Path path, String policy, FileStatus status, Long length, Map<String, String> options) OpenFile assistant, easy reflection-based access toFileSystem.openFile(Path)and blocks awaiting the operation completion. -
Uses of FileStatus in org.apache.hadoop.mapred
Methods in org.apache.hadoop.mapred that return FileStatusModifier and TypeMethodDescriptionprotected FileStatus[]FileInputFormat.listStatus(JobConf job) List input directories.protected FileStatus[]SequenceFileInputFormat.listStatus(JobConf job) Method parameters in org.apache.hadoop.mapred with type arguments of type FileStatusModifier and TypeMethodDescriptionprotected voidFileInputFormat.addInputPathRecursively(List<FileStatus> result, FileSystem fs, Path path, PathFilter inputFilter) Add files in the input path recursively into the results. -
Uses of FileStatus in org.apache.hadoop.mapred.lib
Methods in org.apache.hadoop.mapred.lib that return FileStatusModifier and TypeMethodDescriptionprotected FileStatus[]CombineFileInputFormat.listStatus(JobConf job) List input directories. -
Uses of FileStatus in org.apache.hadoop.mapreduce.lib.input
Methods in org.apache.hadoop.mapreduce.lib.input that return FileStatusModifier and TypeMethodDescriptionstatic FileStatusFileInputFormat.shrinkStatus(FileStatus origStat) The HdfsBlockLocation includes a LocatedBlock which contains messages for issuing more detailed queries to datanodes about a block, but these messages are useless during job submission currently.Methods in org.apache.hadoop.mapreduce.lib.input that return types with arguments of type FileStatusModifier and TypeMethodDescriptionprotected List<FileStatus>FileInputFormat.listStatus(JobContext job) List input directories.protected List<FileStatus>SequenceFileInputFormat.listStatus(JobContext job) Methods in org.apache.hadoop.mapreduce.lib.input with parameters of type FileStatusModifier and TypeMethodDescriptionprotected BlockLocation[]CombineFileInputFormat.getFileBlockLocations(FileSystem fs, FileStatus stat) NLineInputFormat.getSplitsForFile(FileStatus status, Configuration conf, int numLinesPerSplit) static FileStatusFileInputFormat.shrinkStatus(FileStatus origStat) The HdfsBlockLocation includes a LocatedBlock which contains messages for issuing more detailed queries to datanodes about a block, but these messages are useless during job submission currently.Method parameters in org.apache.hadoop.mapreduce.lib.input with type arguments of type FileStatusModifier and TypeMethodDescriptionprotected voidFileInputFormat.addInputPathRecursively(List<FileStatus> result, FileSystem fs, Path path, PathFilter inputFilter) Add files in the input path recursively into the results. -
Uses of FileStatus in org.apache.hadoop.mapreduce.v2.hs
Methods in org.apache.hadoop.mapreduce.v2.hs that return types with arguments of type FileStatusModifier and TypeMethodDescriptionprotected List<FileStatus>HistoryFileManager.findTimestampedDirectories()Finds all history directories with a timestamp component by scanning the filesystem.protected static List<FileStatus>HistoryFileManager.scanDirectory(Path path, FileContext fc, PathFilter pathFilter) protected List<FileStatus>HistoryFileManager.scanDirectoryForHistoryFiles(Path path, FileContext fc) Methods in org.apache.hadoop.mapreduce.v2.hs with parameters of type FileStatusModifier and TypeMethodDescriptionprotected booleanHistoryFileManager.deleteDir(FileStatus serialDir) -
Uses of FileStatus in org.apache.hadoop.yarn.logaggregation.filecontroller
Methods in org.apache.hadoop.yarn.logaggregation.filecontroller that return types with arguments of type FileStatusModifier and TypeMethodDescriptionorg.apache.hadoop.fs.RemoteIterator<FileStatus>LogAggregationFileController.getApplicationDirectoriesOfUser(String user) Gets all application directories of a user.org.apache.hadoop.fs.RemoteIterator<FileStatus>LogAggregationFileController.getNodeFilesOfApplicationDirectory(FileStatus appDir) Gets all node files in an application directory.Methods in org.apache.hadoop.yarn.logaggregation.filecontroller with parameters of type FileStatusModifier and TypeMethodDescriptionLogAggregationFileController.getLogMetaFilesOfNode(org.apache.hadoop.yarn.logaggregation.ExtendedLogMetaRequest logRequest, FileStatus currentNodeFile, ApplicationId appId) Returns log file metadata for a node grouped by containers.org.apache.hadoop.fs.RemoteIterator<FileStatus>LogAggregationFileController.getNodeFilesOfApplicationDirectory(FileStatus appDir) Gets all node files in an application directory.