Class HardAffinityFragmentParallelizer
java.lang.Object
org.apache.drill.exec.planner.fragment.HardAffinityFragmentParallelizer
- All Implemented Interfaces:
FragmentParallelizer
Implementation of
FragmentParallelizer
where fragment requires
running on a given set of endpoints. Width per node is depended on the
affinity to the endpoint and total width (calculated using costs).-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parallelizeFragment
(Wrapper fragmentWrapper, ParallelizationParameters parameters, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) Parallelize the given fragment.
-
Field Details
-
INSTANCE
-
-
Method Details
-
parallelizeFragment
public void parallelizeFragment(Wrapper fragmentWrapper, ParallelizationParameters parameters, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) throws PhysicalOperatorSetupException Description copied from interface:FragmentParallelizer
Parallelize the given fragment.- Specified by:
parallelizeFragment
in interfaceFragmentParallelizer
- Throws:
PhysicalOperatorSetupException
-