Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

BIG DATA & HADOOP The situation is that vector v is too big to fit into the memory. To address this situation, we will need

BIG DATA & HADOOP

The situation is that vector v is too big to fit into the memory. 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,

image text in transcribed

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 (20 points)

map task: for each , emits ,

reduce task:

your source code (30 points)

a screen shot showing the command you use to start your job (5 points)

a screen shot 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 MatrixConvertorPartitioner extends Partitioner

This is how it should look

image text in transcribed

** If answered before September 11, 2018 at 10:30 EST, I will send $25 to your paypal/cashapp/venmo **

)1 2 4 8 4 3 5 1 8 6 7 1 6 8 2 236 1871328236458567171828 1 8-328236458567171828 )1 2 4 8 4 3 5 1 8 6 7 1 6 8 2 236 1871328236458567171828 1 8-328236458567171828

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

ISBN: 0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

(4) What level of commitment do people have towards the strategy?

Answered: 1 week ago

Question

Identify the steps in job analysis.

Answered: 1 week ago

Question

1. The evaluation results can be used to change the program.

Answered: 1 week ago

Question

5. To determine the financial benefits and costs of the program.

Answered: 1 week ago