Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in paython pls with comments I want question No 2 Show transcribed image text 2:25 albaha.blackboard.com mobily I Processing Jobs in Distributed Platform This assignment
in paython pls with comments I want question No 2
Show transcribed image text
2:25 albaha.blackboard.com mobily I Processing Jobs in Distributed Platform This assignment is for assisting you to understand more about Hadoop technology, so be patient when you try to solve it Question 1: "Creating the jobs for processing" 1- Create in your root directory folder called jobs. Inside the folder, create three files or mores with the extend of.txt 2- Each file should include English text. Bring these text from on line articles 3- In your python create a program that opens these files, reads thenm 4 For each read files, the program should remove every vowels from the text, and write the result in a new files Question2: "Creating simple Yarn architecture" Write a python program that has four types of classes: 1 Class Jobs which has the following attributes (number: int, name: string, input file: file, output file: file), methods (setJobs, getJobs) and the constructors for the class 2- Class Client which has the following attributes( number: int, name: string, List of SubmittedJobs:Jobs, List of ProcessedJobs: Jobs), methods Setter/Getter, constructors, SendJobsToResourceManager, ReceivedProceeedJobs: List Jobs), Methods setter/getter constructors, 3- Class ResourceManager which has the following attributes(number: int, name: string, RecievedJobsFromClient List Jobs, ProcessedJobs:List Jobs, ReceivedProceeedJobs: List Jobs), Methods setter/getter, constructors, Allocation(), SentJobsToNodes (0, GetNodesResources), 4- Class Nodes which has the following attributes(number : int, name string, AssignedJobs: List Jobs, ProcessJob: Job, FinishedProcessing List Jobs), methods getter/setter, constructors, SendAvaliable Resources), GetlobToProcess), ProcessJobs(), AddJobsTofinish(), SendFinishedJobsToResoucesManager()Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started