subject

Big Data Programming Map Reduce Please answer this question. Please provide the description of your design, your source code, a screen shot showing the command you use to start your job, a screenshot showing results.
Here is the question (photos are attached and the matrix/code is also attached):
Recall in BDP-3-mapReduce-3 slides, we discussed the situation where vector v is
too big to fit into the memory (slide 6). To address this situation, we will need to
divide matrix M into vertical stripes, and also divide v into equal number of
horizontal stripes:
Your task is to design a mapReduce algorithm and implement the algorithm to
divide matrix M into vertical stripes.
Again, matrix M is stored in a file, using (i, j,mij) format. Here is one example matrix,
1 7
11 12 16
22 23 28
30 34
42 45
51 56
63 67
71 78
80 82 84 86 88
and the actual file that stores this matrix is given by the following (you can find this
file from our course website).
(0,1,1)
(8,0,80)
(0,7,7)
(1,1,11)
(3,0,30)
(2,2,22)
(8,4,84)
(2,8,28)
(3,4,34)
(6,3,63)
(4,5,45)
(5,1,51)
(8,8,88)
(5,6,56)
(6,7,67)
(7,1,71)
(1,6,16)
(7,8,78)
(1,2,12)
(8,2,82)
(2,3,23)
(8,6,86)
(4,2,42)
As you can tell, this matrix is 9 x 9, and we would like to break it into 3 vertical
stripes (therefore each stripe is 9 x 3). The final result will be 3 separate files, each
file holds one stripe from the original matrix.
You will need to submit the following:
a very brief description of your design. The description should be in this
format
map task: for each …, emits …,
reduce task: …
your source code (30 points)
a screenshot showing the command you use to start your job (5 points)
a screenshot showing the result of your submitted job, should be something
look like this (5 points)
hint: you will need to write a customer partitioner, something like this:
public static class extends
Partitioner

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:00, Treezy11
In outlook how can cherie look at the details of an event that appears on the month view of her calendar? check all that apply. by switching to the detail view by switching to the week view by switching to the day view by right-clicking on the event by double-clicking on the event by highlighting the event
Answers: 2
image
Computers and Technology, 22.06.2019 08:00, lindseyreneesmith7
Digital information is stored using a series of ones and zeros. computers are digital machines because they can only read information as on or off –1 or 0. this method of computation is known as the system
Answers: 1
image
Computers and Technology, 23.06.2019 03:10, nxusasmangaliso8780
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
image
Computers and Technology, 23.06.2019 04:31, hargunk329
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
You know the right answer?
Big Data Programming Map Reduce Please answer this question. Please provide the description of your...

Questions in other subjects:

Konu
Advanced Placement (AP), 11.11.2020 01:20
Konu
Mathematics, 11.11.2020 01:20
Konu
Mathematics, 11.11.2020 01:20