CCD-410 Warm-up

Beschreibung

test of warmup
Will Du
Quiz von Will Du, aktualisiert more than 1 year ago
Will Du
Erstellt von Will Du vor mehr als 9 Jahre
83
0

Zusammenfassung der Ressource

Frage 1

Frage
You have a large dataset of key value pairs, where the keys are strings and the values are the integers. For each unique key, you want to identify the largest integer. In writing a MapReduce program to accomplish this, can you take advantage of a combiner?
Antworten
  • No, a combiner would not be useful in this case.
  • Yes.
  • Yes, but the number of unique keys must be known in advance.
  • Yes, as long as all the keys fit into memory on each node.
  • Yes, as long as all the integer values that share the same key fit into memory on each node.

Frage 2

Frage
Given the following code from a MapReduce application: Job job = new Job(getConf(), "MyMapReduceJob"); Path in = new Path(“source1”, “source2”); Path out = new Path(“dest1”); FileInputFormat.setInputPaths(job, in); FileOutputFormat.setOutputPath(job, out); Which one of the following statements is true?
Antworten
  • The input for this job will be the contents of the source1/source2 folder
  • The input for this job will be the contents of both the source1 and source2 files
  • The input of this job cannot be determined by the code above
  • The output of this job will be the source1/source2 folder
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

How well do you know GoConqr?
Sarah Egan
Statistics, Data and Area (Semester 2 Exam)
meg willmington
Mathematics
Corey Lance
Chapter 7: Investigating Data
Sarah L
Maths Summarising Data
Will Thorpe
Test quiz
Kheng Chew
Hipotez Testleri
Alperen Balık
TYPES OF DATA
Elliot O'Leary
STEM AND LEAF DIAGRAMS
Elliot O'Leary
GCSE Computing - 4 - Representation of data in computer systems
lilymate
General Knowledge Quiz
Andrea Leyden