I distinguish between the smaller and bigger relation, and between join and HashJoin - plus doing the map, such that variables match ord2 for the groupBy.
Do you mean to drop  the smaller and bigger cases, and just do one.join(two) or one.hashJoin(two)?