Question 1: You want to store a 500 MB file into a cluster with 12 nodes, which are located in four different racks (three nodes per rack). See Figure 1. 1. If a data block can store 256 MB, how many data blocks are needed to split this file? 2. Use a replication factor of 3 and the write principles discussed earlier to allocate the data blocks into this cluster. Rack 1 Rack 2 Rack 3 Rack 4 To answer Q1, fill in the blanks in the following Table. Each Cell represents a data node Remember, you do not need to fill the cells. Rack 1 Rack 2 Rack 3 Rack 4 Question 2: Consider the block allocations shown in Figure 2. Using a replication factor of 3, are all blocks allocated in the correct Rack and DataNode? If no, reallocate the blocks correctly. 81 82 83 84 84 83 83 82 84 83 84 To answer Q2, fill in the blanks in the following Table. Each Cell represents a data node Remember, you do not need to fill the cells.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Question 1: You want to store a 500 MB file into a cluster with
12 nodes, which are located in four different racks (three nodes
per rack). See Figure 1.
1. If a data block can store 256 MB, how many data blocks
are needed to split this file?
2. Use a replication factor of 3 and the write principles
discussed earlier to allocate the data blocks into this cluster.
DUNGE 2
DURANODE B
Rack 1 Rack 2 Rack 3 Rack 4
Rack 1
Rack 2 Rack 3 Rack 4
To answer Q1, fill in the blanks in the following Table. Each
Cell represents a data node Remember, you do not need to fill
the cells.
81 82
84 83
Question 2: Consider the block allocations shown in Figure 2.
Using a replication factor of 3, are all blocks allocated in the
correct Rack and DataNode? If no, reallocate the blocks
correctly.
81 82 83 84
DuteNode BỞI
83 82
Rack 1 Rack 2 Rack 3 Rack 4
DauNote 12.
84 83 84
Rack 1
To answer Q2, fill in the blanks in the following Table. Each
Cell represents a data node Remember, you do not need to fill
the cells.
Transcribed Image Text:Question 1: You want to store a 500 MB file into a cluster with 12 nodes, which are located in four different racks (three nodes per rack). See Figure 1. 1. If a data block can store 256 MB, how many data blocks are needed to split this file? 2. Use a replication factor of 3 and the write principles discussed earlier to allocate the data blocks into this cluster. DUNGE 2 DURANODE B Rack 1 Rack 2 Rack 3 Rack 4 Rack 1 Rack 2 Rack 3 Rack 4 To answer Q1, fill in the blanks in the following Table. Each Cell represents a data node Remember, you do not need to fill the cells. 81 82 84 83 Question 2: Consider the block allocations shown in Figure 2. Using a replication factor of 3, are all blocks allocated in the correct Rack and DataNode? If no, reallocate the blocks correctly. 81 82 83 84 DuteNode BỞI 83 82 Rack 1 Rack 2 Rack 3 Rack 4 DauNote 12. 84 83 84 Rack 1 To answer Q2, fill in the blanks in the following Table. Each Cell represents a data node Remember, you do not need to fill the cells.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Properties of Different Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education