presto-main/src/main/java/io/prestosql/server/remotetask/HttpLocationFactory.java/HttpLocationFactory/createTaskLocation
class HttpLocationFactory:    @Override
    public URI createTaskLocation(InternalNode node, TaskId taskId)
    {
        requireNonNull(node, "node is null");
        requireNonNull(taskId, "taskId is null");
        return uriBuilderFrom(node.getInternalUri())
                .appendPath("/v1/task")
                .appendPath(taskId.toString())
                .build();
    }