0% found this document useful (0 votes)
4 views5 pages

MapReduce in Cloud Computing

Uploaded by

abhinavsrivas05
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

MapReduce in Cloud Computing

Uploaded by

abhinavsrivas05
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIT5

MAP REDUCE (Data Rrocesing Tool&)

This
This algo dfvídes the tusk intu small
algo parts assían
them tu man mputers ,and colleot the results
fromn
them, which hen mte qvated
geneates dotu set.

CompO nents Of Map_ Rooluee


1. Ma

. Shut

8. Recduee.

dato Loa websit


4 I t is not possTble to manaa gstem with single system as thoa

is xponertial. qrowth ofdata,so to ovecom thin


problem
MAP Yeclwego introcled . 1t w
munp systems togatha
ot a m u 4 clivtclw that tk t tha
ob wt system
Sub-Tay

T oIP,
T
T2 olP yoIP i qenu alra tom
CTot)
'3 -olfs dat Ae

Snutt ReeuerL

aoud Compunny - 19 t20 32


Compulhg = 1

o uAouo 8t10 = 13
lnd=
2 competttrs
w a uCopu
Roolwo
Heve
D,0, Dg ave Some documents,

MAP
It do
do mappin
mapping of dffcvcnt document to different
Systems
a mapped to gystem4 they procmd t nd
the Cont
of kequword Cloud 4 Computingq
mtlau f Ds Da ttosystem-2
Shuhtt
Common koywordds axe cateogaised to gimplsint
system. and stnla

Redues
Yeclueu the proMdeel kuyurdu providlsu the total veduad
Kesutt o the kuwrd.

APACHE HADoOP Ueed


doto
td sture, manaqu 4 pvoce (aLay data 1t
ts an
open souYcc fava based framewyk used festoing
and pyocecsingbiq-data in
clütbuted enivonmert
Aduibutua

4ilu
Bia data lays
MP- m o Resuen
Haaleop ramuok datu
Cons oti'daid
set
da o R,

Medio
MR data

MR Systm

MR
Relattoral
ds
6p
BENEFITS OF HADOOP

. Restlience
node
o de
dalo sttred in any boekup huL
Keplication of cda
nod toil
Ceattd , So in caye

oPy ob nodo

2 Scalabili ty
tn olistibuted System
Srlable becaut operates
be aololad by vemand whan not ve)
Can
Ca
per vequlrenment d esouYCe

3 Low- Cost MODELs OF HADo0P


-Cost || OrstMbut a tle
Open souNce So lo 1. HDES CHaalooP
bokan ito c stoed
CNo addib'on al chat y fles wil be
in nocls OveL ditvibutza ssla.
Reszruevegono
4. Speea 2. YARN CYet Anottnol
Used for jolo scheduling
Vey tast
3. Mop Redues
Cprotng data uet 4. Hadoop Comno
5 Pala divesity
semisvvetumeo .unstruslnies
Capable tu stre stvuetuved,

deto ovmatiod
dale

VIRTUAL BoX
Jts a enera pupose vi tu alizcuch cn tuo).
Tool usecd to CYeate vtrtualmaehine
- Its an
open souvce 4no n e t to paij fcv autuvig.
Allous bading
bading muttple guest geatin System On
single host operalung system so that each quet Cen
operah rt vivua machun

Jt act as a hypevter Cvealing a VM CUvtial Machune i n when

s Cam Yun an hu oS
the opev al SYstem n which VM Yuns 's calld host 0S.
GooaLE Arp EngNE CCAE)

plotform
I taPlatfovn
s a Platfwm as a Sewice4 cloud conmput rg
in Google-manaud
web applicatona
fer Clevelopng
T clevelopng 4hostina
dottu cene

managed, casy to use, and etveney


is a full
scalable Plautferm a s - Seice offenng t h a t allows fe
a-

eficient develpement of cuutem oppticat.

scolable
rovides mo e i'hfra stuctuve than 6her hosting
S e v i ceu

Jis free upto a Ctan Ves6ueA


Autumant scalinq 4 load balcned

Advatpqer Drs cuclontaqu


Platfmm Indapinck Voilations opoi'c'e

Hh ferfomane Not t
ferget Pring
Reticbility Becomu costy fuebsie
Scalabi uty becomes uky
Infrasturcual fo Secwity
Load Balancir

#Seruicesprouicducd by GAE
1. Datu Stre.

Arcount Cgautheunlicafil.
2. quoglt
t oppl" cam s Asouncu m inler net)
3. URL fetth
4. Maul
5 Schotulir Tosk
6. Cach
FEERATION IN CC
he cloud Compuin
of interconnedtfng
s a pYaetice
nwo ov moYe senuce Provi de fr the
me
Cnvironment of
s e i c es tu
PUApo looad htanaina 4 proucling the
Users

Uevd Clov d2
L o a dB a l n e
A c h a u

Reu

B u tL o a a d

Clauol3
Conu outto

20,oR

e n Cudl

SameseLviuthat
searchu fon

ADVANTAGE:
i s veuutng
Loacl Balanein

then

cloud 3
Tcen eithn
o r

Y C M t
t t n a

pnena
hem

Common questions

Powered by AI

YARN, which stands for Yet Another Resource Negotiator, plays a pivotal role in the Hadoop ecosystem by acting as the resource management layer. It decouples resource management and job scheduling capabilities from the processing component. YARN enables multiple data processing engines to handle data stored in HDFS, improving Hadoop's versatility. It enhances resource utilization by allocating resources dynamically based on application needs, ensuring efficient job scheduling across a distributed environment, thus significantly boosting the scalability and responsiveness of Hadoop workloads .

The cost considerations for companies adopting cloud services like Google App Engine include understanding the pricing model based on the resources used, such as compute instances, storage, and data transfer requirements. While the platform offers a 'pay-as-you-go' model which can lead to cost-efficiency by only paying for what is used, costs can escalate with increased usage or higher demand. Companies must carefully manage usage levels and optimize resource allocations to prevent unexpected expenditures. Efficient cost management can influence business operations by enabling scalability without financial strain, thus facilitating strategic growth and adaptation to market changes .

Virtualization plays a crucial role in cloud computing by allowing multiple virtual machines (VMs) to run on a single physical machine, optimizing resource utilization and providing isolation between different environments. In platforms like VirtualBox, virtualization allows users to run different operating systems on a single host machine, each within its own virtual machine. This setup acts as a hypervisor, making it possible to test applications in various operating systems and configurations without requiring separate hardware for each .

Google App Engine offers several benefits as a cloud computing platform, including ease of development due to its fully managed environment and efficient scalability that adjusts resources according to demand. It allows for seamless application hosting with built-in services like data storage, user authentication, and task scheduling. However, it can become costly if the application scales significantly or if resources are heavily utilized. Additionally, it is a platform-independent environment, which may restrict certain customizations or configurations specific to an application's needs .

Hadoop ensures data resilience primarily through data replication within its Hadoop Distributed File System (HDFS). Data is replicated across multiple nodes, so if one node fails, the same data can be accessed from another node. This improves the reliability and fault-tolerance of the system. For scalability, Hadoop can dynamically allocate resources based on the current demand, allowing it to handle large datasets without requiring significant modification to the infrastructure or applications. This ensures efficient use of resources and cost savings as the system adapts to varying loads .

Apache Hadoop enhances data processing through its framework that supports the storage, management, and processing of large datasets in a distributed fashion. Its core components include the Hadoop Distributed File System (HDFS) which stores data across multiple nodes, and the YARN framework that manages resources and job scheduling. By replicating data across many nodes, Hadoop ensures resilience against node failures. It is also scalable, allowing resources to be allocated or reduced as needed, and cost-efficient as it is open-source .

Load balancing significantly impacts cloud computing environments by distributing incoming network or application traffic across multiple servers. In platforms like Google App Engine, load balancing ensures that no single server becomes overwhelmed, which enhances application performance, availability, and reliability. It allows for automatic adjustment of traffic flow according to server capability and real-time demand, promoting efficient resource use and improved response times. However, implementing load balancing can add complexity to the network architecture and may require sophisticated algorithms and monitoring to optimize performance .

Data replication in distributed computing environments like Hadoop is crucial for maintaining data integrity and availability. By replicating data across several nodes, it ensures that the failure of a single node does not result in data loss, thus safeguarding against hardware failures or network issues. This redundancy allows for continuous availability of the data, even during maintenance operations or in case of component failures, ensuring that applications can access required datasets at all times. Moreover, it enables load balancing across nodes, enhancing performance by distributing read requests .

The Federated Cloud computing model differs from traditional cloud computing by linking together multiple cloud services to function as a cohesive environment. This interconnection allows users to access resources across different cloud platforms seamlessly. The primary advantage of a federated cloud is its ability to provide greater flexibility and resource optimization, as workloads can be distributed and migrated across clouds based on performance, cost, or compliance requirements. Additionally, it enhances reliability by providing multiple fallback options across interconnected cloud services .

The MapReduce algorithm consists of two main components: Map and Reduce. The 'Map' function processes the input data and converts it into intermediate key-value pairs. This step usually involves distributing different parts of the dataset across numerous nodes to handle the data parallelly. The 'Shuffle' process then sorts these key-value pairs and redistributes them so that all pairs with the same key are sent to a single node. Finally, the 'Reduce' stage aggregates these intermediate key-value pairs to produce a final result set. This architecture facilitates handling the exponential growth of data and is central to distributed data processing .

You might also like