找考题网-背景图
单项选择题

val rdd=sc.parallelize(1to10).filter(_%2==0)rdd.collect上述代码的执行结果为()

A.Array(1,2,3,4,5,6,7,8,9,10)
B.Array(1,3,5,7,9)
C.Array(2,4,6,8,10)
D.Array(1,10)