Demonstrate the use of Map/Reduce technology to efficiently process data. Flashcards
In a Map/Reduce script, which entry function is the beginning of the script and is only invoked once?
getInputData
In a Map/Reduce script, which entry function can be skipped if the Reduce entry point is present, and is invoked once for each key/value pair provided by getInputData?
Map
In a Map/Reduce script, which entry point can be skipped if the map entry point is present, and is invoked once for each key/value pair provided by map or getInputData if map is not present
Reduce
True or False?
In a Map/Reduce, the summarise function is optional, and only invoked once.
True
What does the summaryContext.concurrency property show?
Shows the maximum concurrency number when running the map/reduce script.
What does the summaryContext.dateCreated property show?
Shows the time and day when the script began running.
What does the summaryContext.seconds property show?
Shows the total number of seconds that elapsed during the processing of the script.
What does the summaryContext.usage property show?
Shows the total number of usage units consumed during the processing of the script.
What does the summaryContext.yields property show?
Shows the total number of yields that occurred during the processing of the script.
What does the summaryContext.inputSummary object contain?
Object that contains data about the input stage
What does the summaryContext.inputSummary.dateCreated property contain?
The time and day when the getInputData(inputContext) function began running.
What does the summaryContext.inputSummary.error property contain?
Holds serialized errors thrown from the getInputData(inputContext) function
What does the summaryContext.inputSummary.seconds property contain?
The total number of seconds that elapsed during execution of the getInputData(inputContext) function. This tally does not include idle time.
What does the summaryContext.inputSummary.usage property contain?
The total number of usage units consumed by processing of the getInputData(inputContext) function.
What does the summaryContext.mapSummary object contain?
Contains data about the map stage