[Study notes]
reduceByKey (function)
reduceByKey Value is the same elements as in RDD Key elements of KV to reduce the operating function is performed (as described above), and therefore, the same values of a plurality of elements to reduce Key is a value, and then Key in the original RDD form a new KV right.
Reprinted from the original article: https://blog.csdn.net/qq_44596980/article/details/93311813