Interface | Description |
---|---|
FileWriteLocationPolicy |
Interface for the location policy of which workers a file's blocks are written into.
|
Class | Description |
---|---|
LocalFirstAvoidEvictionPolicy |
A policy that returns local host first, and if the local worker doesn't have enough availability,
it randomly picks a worker from the active workers list for each block write.
|
LocalFirstPolicy |
A policy that returns local host first, and if the local worker doesn't have enough availability,
it randomly picks a worker from the active workers list for each block write.
|
MostAvailableFirstPolicy |
A policy that returns the worker with the most available bytes.
|
RoundRobinPolicy |
A policy that chooses the worker for the next block in a round-robin manner and skips workers
that do not have enough space.
|
SpecificHostPolicy |
Always returns a worker with the specified hostname.
|
Copyright © 2023. All Rights Reserved.