Package org.apache.hadoop.fs.http.server
Class FSOperations.FSFileBlockLocationsLegacy
java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSFileBlockLocationsLegacy
- All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Map>
- Enclosing class:
- FSOperations
@Private
public static class FSOperations.FSFileBlockLocationsLegacy
extends Object
implements FileSystemAccess.FileSystemExecutor<Map>
Executor that performs a getFileBlockLocations operation for legacy
clients that supports only GET_BLOCK_LOCATIONS.
-
Constructor Summary
ConstructorsConstructorDescriptionFSFileBlockLocationsLegacy(String path, long offsetValue, long lengthValue) Creates a file-block-locations executor. -
Method Summary
-
Constructor Details
-
FSFileBlockLocationsLegacy
Creates a file-block-locations executor.- Parameters:
path- the path to retrieve the locationoffsetValue- offset into the given filelengthValue- length for which to get locations for
-
-
Method Details
-
execute
- Specified by:
executein interfaceFileSystemAccess.FileSystemExecutor<Map>- Throws:
IOException
-