Description
For example, when reducing parallelism from 36 to 22. The basePartitionRange will be 1 and will not re-configure the vertex.
ShuffleVertexManager#determineParallelismAndApply
int desiredTaskParallelism = (int)( (expectedTotalSourceTasksOutputSize+desiredTaskInputDataSize-1)/ desiredTaskInputDataSize); if(desiredTaskParallelism < minTaskParallelism) { desiredTaskParallelism = minTaskParallelism; } if(desiredTaskParallelism >= currentParallelism) { return true; } // most shufflers will be assigned this range basePartitionRange = currentParallelism/desiredTaskParallelism; if (basePartitionRange <= 1) { // nothing to do if range is equal 1 partition. shuffler does it by default return true; }
Attachments
Attachments
Issue Links
- is related to
-
TEZ-2962 Use per partition stats in shuffle vertex manager auto parallelism
- Open