1. Homepage
  2. Exam
  3. [2022] COMP5349 Cloud Computing - Main Exam S1- Q2 GFS Cluster

[2022] COMP5349 Cloud Computing - Main Exam S1- Q2 GFS Cluster

This question has been solved
Engage in a Conversation

Question 2 GFS (15 points) CourseNana.COM


CourseNana.COM

This question has two parts. All parts are related with a GFS cluster with a master node M and many chunk servers CS1, ... CSn. A logfile L is stored as three chunks L0, L1 and L2. They are replicated in a few nodes. The distribution of replicas is shown in the following table. CourseNana.COM


CourseNana.COM

CourseNana.COM

Chunk/Server CourseNana.COM

CS1 CourseNana.COM

CS2 CourseNana.COM

CS3 CourseNana.COM

CS4 CourseNana.COM

 CS5 CourseNana.COM

CS6 CourseNana.COM

L0 CourseNana.COM

x CourseNana.COM

  CourseNana.COM

x CourseNana.COM

x CourseNana.COM

  CourseNana.COM

  CourseNana.COM

L1 CourseNana.COM

  CourseNana.COM

x CourseNana.COM

  CourseNana.COM

x CourseNana.COM

x CourseNana.COM

  CourseNana.COM

L2 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

x CourseNana.COM

  CourseNana.COM

x CourseNana.COM

x CourseNana.COM


  1. [5 points] Assume a MapReduce application takes L as input, describe a possible scenario for the application to get the input data. Your description should describe the nodes being contacted and the possible control and data flow between nodes. No point will be awarded for describing the general GFS read process.
  2. [10 points] Assume two clients C1 and C2 concurrently append the latest entries to chunk L2. The replica on CS3 holds the current lease of this chunk. C1 is running on a machine closest to CS3; C2 is running on a machine closest to CS5. At time t0, C1 needs to append a log entry le1; C2 needs to append a log entry le2. Describe a possible scenario for the cluster to handle the concurrent append requests. You can make assumptions on the relative distance between the nodes involved. No point will be awarded for describing the general GFS write process.

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
The University of Sydney代写,COMP5349代写,Cloud Computing代写,The University of Sydney代编,COMP5349代编,Cloud Computing代编,The University of Sydney代考,COMP5349代考,Cloud Computing代考,The University of Sydneyhelp,COMP5349help,Cloud Computinghelp,The University of Sydney作业代写,COMP5349作业代写,Cloud Computing作业代写,The University of Sydney编程代写,COMP5349编程代写,Cloud Computing编程代写,The University of Sydneyprogramming help,COMP5349programming help,Cloud Computingprogramming help,The University of Sydneyassignment help,COMP5349assignment help,Cloud Computingassignment help,The University of Sydneysolution,COMP5349solution,Cloud Computingsolution,