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
FragmentParallelizer
parallelizeFragment
in interface FragmentParallelizer
PhysicalOperatorSetupException
Copyright © 1970 The Apache Software Foundation. All rights reserved.