presto-main/src/main/java/io/prestosql/execution/scheduler/group/DynamicBucketNodeMap.java/DynamicBucketNodeMap/assignBucketToNode
class DynamicBucketNodeMap:    @Override
    public void assignBucketToNode(int bucketedId, InternalNode node)
    {
        checkArgument(bucketedId >= 0 && bucketedId < bucketCount);
        requireNonNull(node, "node is null");
        checkState(!bucketToNode.containsKey(bucketedId), "bucket already assigned");
        bucketToNode.put(bucketedId, node);
    }