单项选择题

val words =Array("one","two","two","three","three","three")
val wordPairsRDD =sc.parallelize(words).map(word =>(word,1))
wordCountsWithReduce =wordPairsRDD.reduceByKey(_+_)
上述语句的执行结果wordCountsWithReduce中包含的元素是()。

A.(“one”,3),(“two”,2),(“three”,1)
B.(“one”,1),(“two”,2),(“three”,3)
C.(“one”,1),(“two”,2),(“three”,1)
D.(“one”,1),(“two”,2),(“three”,2)