A.map()B.filter()C.persist()D.push()
单项选择题first()方法属于什么操作?()
A.转换操作B.行动操作C.集合操作D.以上都不是
单项选择题count()方法属于什么操作? ()
单项选择题filter()方法属于什么操作? ()
单项选择题RDD转换操作的最终结果是? ()
A.返回新的RDDB.转换成新的数据类型C.将某数据类型转换成RDDD.以上都不是
多项选择题RDD具有的数据流模型的特点有哪些? ()
A.自动容错B.位置感知性调度C.不可终止性D.可伸缩性
多项选择题在Spark中,对数据的操作包含哪些? ()
A.创建RDDB.转换已有RDDC.调用RDDD.固定RDD
多项选择题RDD可以包含哪些编程语言的类型对象? ()
A.JavaB.C语言C.ScalaD.Python
多项选择题RDD的特点有哪些? ()
A.闭合的B.不可变的C.可分区的D.可并行的
单项选择题在Spark迭代中处理效率高的原因在于?()
A.执行代码较少B.编程语言不同C.高并发处理D.读写操作基于内存
多项选择题Spark和MapReduce在迭代处理流程中不同的是? ()
A.第一次迭代中读取数据的位置B.第一次迭代中写入数据的位置C.非第一次迭代中读取数据的位置D.非第一次迭代中写入数据的位置
单项选择题列表的head操作起什么作用? ()
A.返回列表第一个元素B.返回一个列表,包含除了第一元素之外的其他元素C.在列表为空时返回trueD.以上都不是
单项选择题val site: List[String] = List( Runoob , Google , Baidu )其中site是什么类型的列表? ()
A.字符串列表B.整型列表C.空列表D.二维列表
单项选择题var myVar : String = Foo 其中myVar是什么类型? ()
A.字符序列B.LongC.IntD.Short
单项选择题函数def swap[S,T](tup: (S,T))={ tup match{ case (a,b) => (b,a) } }的作用是? ()
A.完成2个数的交换B.完成2个数的相加C.完成2个数的相乘D.以上都不是
单项选择题Java:for(int i=10;i>=0;i–)System.out.println(i)在scala中怎么表示? ()
A.for(i < -1to 10reverse)print(i)B.for(i < -0to 10reverse)print(i)C.for(i < -1to 10)print(i)D.for(i < -1to 11reverse)print(i)