public class SoftAffinityFragmentParallelizer extends Object implements FragmentParallelizer
FragmentParallelizer where fragment has zero or more endpoints with affinities. Width
per node is depended on the affinity to the endpoint and total width (calculated using costs). Based on various
factors endpoints which have no affinity can be assigned to run the fragments.| Modifier and Type | Field and Description |
|---|---|
static SoftAffinityFragmentParallelizer |
INSTANCE |
| Constructor and Description |
|---|
SoftAffinityFragmentParallelizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
parallelizeFragment(Wrapper fragmentWrapper,
ParallelizationParameters parameters,
Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints)
Parallelize the given fragment.
|
public static final SoftAffinityFragmentParallelizer 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.