public class HardAffinityFragmentParallelizer extends Object implements FragmentParallelizer
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)| Modifier and Type | Field and Description |
|---|---|
static HardAffinityFragmentParallelizer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
parallelizeFragment(Wrapper fragmentWrapper,
ParallelizationParameters parameters,
Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints)
Parallelize the given fragment.
|
public static final HardAffinityFragmentParallelizer INSTANCE
public void parallelizeFragment(Wrapper fragmentWrapper, ParallelizationParameters parameters, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) throws PhysicalOperatorSetupException
FragmentParallelizerparallelizeFragment in interface FragmentParallelizerPhysicalOperatorSetupExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.