Uses of Class
org.apache.hadoop.fs.LocalDirAllocator
Packages that use LocalDirAllocator
Package
Description
block caching for use in object store clients.
-
Uses of LocalDirAllocator in org.apache.hadoop.fs.impl.prefetch
Methods in org.apache.hadoop.fs.impl.prefetch that return LocalDirAllocatorMethods in org.apache.hadoop.fs.impl.prefetch with parameters of type LocalDirAllocatorModifier and TypeMethodDescriptionprotected PathSingleFilePerBlockCache.getCacheFilePath(Configuration conf, LocalDirAllocator localDirAllocator) Return temporary file created based on the file path retrieved from local dir allocator.static booleanSingleFilePerBlockCache.isCacheSpaceAvailable(long fileSize, Configuration conf, LocalDirAllocator localDirAllocator) Determine if the cache space is available on the local FS.voidBlockCache.put(int blockNumber, ByteBuffer buffer, Configuration conf, LocalDirAllocator localDirAllocator) Puts the given block in this cache.voidSingleFilePerBlockCache.put(int blockNumber, ByteBuffer buffer, Configuration conf, LocalDirAllocator localDirAllocator) Puts the given block in this cache.BlockManagerParameters.withLocalDirAllocator(LocalDirAllocator dirAllocator) Sets the local dir allocator for round-robin disk allocation while creating files.