Examen Spark-1

Description

Examen con respuestas tipo de Spark
Jorge Lopez-Mall
Quiz by Jorge Lopez-Mall, updated more than 1 year ago
Jorge Lopez-Mall
Created by Jorge Lopez-Mall over 8 years ago
236
0

Resource summary

Question 1

Question
Dadas las siguientes líneas de código: 1- val sc = new SparkContext(master="local[*]", appName="test", conf = new SparkConf()) 2- val text = sc.textFile("test") 3- val hashTags = text.flatMap(_.split(" ")).fliter(_.startsWith("#")).map(word => (word, 1)) 4- val count = hashTags.countByKey ¿Qué línea crea un base RDD?
Answer
  • 1
  • 2
  • 3
  • 4

Question 2

Question
Dadas las siguientes líneas de código: 1- val sc = new SparkContext(master="local[*]", appName="test", conf = new SparkConf()) 2- val text = sc.textFile("test") 3- val hashTags = text.flatMap(_.split(" ")).fliter(_.startsWith("#")).map(word => (word, 1)) 4- val count = hashTags.countByKey ¿Qué línea es una transformación?
Answer
  • 1
  • 2
  • 3
  • 4
Show full summary Hide full summary

Similar

Mapa mental BIG DATA
leydam
Mapa Mental Big Data
Juan Carlos Estr7460
BIG DATA
Jairy Meneses
Examen Fundamental Big Data
Juan Taborda
Big Data
eaavilas
Glosario Terminos competencias digitales
Rosario Arana
Modulo 2 - Big Data Analysis & Technology Concepts
Juan Taborda
glosario big data
flor romero
Parte 1: Sociodeterminismo
Oriol Palmero Milan
Big Data, funciones del psicopedagogo, seguridad y confidencialidad 0
Beatriz Sánchez