A.yarn logs -applicationId < app ID>B.yarn logs -id < app ID>C.yarn application -log < app ID>D.yarn applicationLog < app ID>
单项选择题下列哪个参数用于指定Spark on Yarn的任务队列()
A.spark.yarn.queueB.spark.yarn.lineC.spark.yarn.seatD.spark.yarn.priority
单项选择题以下哪项不属于Spark组件()
A.Spark SQLB.Spark StreamingC.PySparkD.SparkC
单项选择题RDD的默认Storage Level是()
A.MEMORY_ONLYB.MEMORY_AND_DISKC.MEMORY_ONLY_SERD.MEMORY_AND_DISK_SER
单项选择题sc是已创建的SparkContext实例,data是已创建的数组,使用data创建RDD的代码是()
A.sc.fromArray(data)B.sc.parallelize(data)C.sc.copyFromArray(data)D.sc.rdd(data)
单项选择题下列Spark算子中不会产生shuffle的算子是()
A.mapB.distinctC.groupByKeyD.reduceByKey