Big!Data! Processinginthe Cloud!!! -...

110
Big Data Processing in the Cloud Shadi Ibrahim Inria, Rennes Bretagne Atlantique Research Center

Transcript of Big!Data! Processinginthe Cloud!!! -...

Page 1: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

 Big  Data  

Processing  in  the  Cloud      

       Shadi  Ibrahim  

Inria,  Rennes  -­‐  Bretagne  Atlantique  Research  Center    

   

Page 2: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

 Data  is  ONLY  as  useful  as  the  decisions  it  enables      

2  

Page 3: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

 Data  is  ONLY  as  useful  as  the  decisions  it  enables      

3  

Page 4: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

What  is  needed?  An  efficient  processing  of  Big  Data  is  restricted  by:  

•  Available  computation/storage  power  » Cloud  computing:  Allows  users  to  lease  computing  and  storage  resources  in  a  Pay-­‐As-­‐You-­‐Go  manner  

   

•   Programming  model  » MapReduce:  Simple  yet  scalable  model  

    4  

Page 5: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  Computing  

5  

Page 6: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

New  Buzzword  

6  

Page 7: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

New  Buzzword  

7  

Page 8: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

New  Buzzword  

8  

Page 9: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

New  Buzzword  

9  

Page 10: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  Computing  •  Any  situation  in  which  computing  is  done  in  a  remote  location  (out  in  the  clouds),  rather  than  on  your  desktop  or  portable  device.  

                                                                                                                                    

10  

Page 11: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  Computing  •  Any  situation  in  which  computing  is  done  in  a  remote  location  (out  in  the  clouds),  rather  than  on  your  desktop  or  portable  device.  

•  You  tap  into  that  computing  power  over  an  Internet  connection.  

11  

Source: http://www.businessweek.com

Page 12: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  Premise  •  Ubiquity  of  access    » all  you  need  is  a  browser    

•  Ease  of  management    » no  need  for  user  experience  improvements  as  no  configuration  or  backup  is  needed  

•  Less  investment  » affordable  enterprise  solution  deployed  on  a  pay-­‐per-­‐use  basis  for  the  hardware,  with  systems  software  provided  by  the  cloud  providers  

12  

Page 13: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

13  

Cloud  Characteristics    

Page 14: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

14  

Cloud  Characteristics    

Page 15: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

15  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

Page 16: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

16  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

Page 17: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

17  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

Page 18: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

18  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

Page 19: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

19  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Page 20: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

20  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Page 21: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

21  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  

Page 22: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

22  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  

Page 23: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

23  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  Cloud  Resources  can  be  provisioned  and  scaled  

Page 24: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

24  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  Cloud  Resources  can  be  provisioned  and  scaled  

Page 25: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

25  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  Cloud  Resources  can  be  provisioned  and  scaled    Cloud  Resources  can  be  provisioned  and  scaled  On  Demand    

Page 26: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

26  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  Cloud  Resources  can  be  provisioned  and  scaled    Cloud  Resources  can  be  provisioned  and  scaled  On  Demand    

Page 27: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

27  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  Cloud  Resources  can  be  provisioned  and  scaled    Cloud  Resources  can  be  provisioned  and  scaled  On  Demand    

 Using  web-­‐based  and  programmatic  interfaces  which  hide  all  the  complexity  of  the  

system  and  make  it  Transparent  to  the  users  .      

Page 28: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

28  

Cloud  Characteristics    

 Cloud  services  delivered  through  data  centers  that  are  built  on  computer  and  

storage  virtualization  technologies.      

 Abstraction  of  the  hardware  from  the  service.  Abstraction  of  the  software  from  the  service.      

 Services  are  hosted  in  the  Cloud  some  where??      

Pay  as  you  go  with  no-­‐lock  access  of  the  Cloud  resources  Cloud  Resources  can  be  provisioned  and  scaled    Cloud  Resources  can  be  provisioned  and  scaled  On  Demand    

 Using  web-­‐based  and  programmatic  interfaces  which  hide  all  the  complexity  of  the  

system  and  make  it  Transparent  to  the  users  .      

Page 29: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     29  

Cloud  Challenges  

Page 30: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     30  

Cloud  Challenges  

Data    Governance  

Page 31: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     31  

Cloud  Challenges  

Data    Governance  

√  Enterprise  data:  √     Sensitive.  (Requires  access  monitoring  and  protection).    √   Full  capabilities  to  govern.      

√  Cloud  Providers  guarantee:  √ customer  data  are  safe    √ Access  to  data  are  restricted  and  protected.    

√  More  Challenges            √ Wiretapping?    √ Patriot  Act?  √ Privacy  &  geographic  boundaries?  

Page 32: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     32  

Cloud  Challenges  

Data    Governance  

Manageability    

Page 33: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     33  

Cloud  Challenges  

Data    Governance  

Manageability    management  issues  :  Auto-­‐scaling    Load  balancing  Recent  Cloud  providers  (infrastructures  and  

platforms)  do  not  have  great  management  capabilities.  

Need  to  build  management  capabilities  on  top  of  the  existing  cloud  infrastructure/platforms.    

RightScale  is  one  of  the  early  pioneers  in  this  space.      

Page 34: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     34  

Cloud  Challenges  

Data    Governance  

Manageability     Monitoring  

Page 35: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     35  

Cloud  Challenges  

Data    Governance  

Manageability     Monitoring  

Monitoring,  whether  is  for  performance  or  availability,  is  critical  to  any  IT  shop.    

Monitoring  should  not  be  about  CPU  or  memory  only  but  also  about  performance  of  transactions  and  disk  IO  and  others.    

CPU  and  memory  usage  are  misleading  most  of  the  time  in  virtual  environments.    

 Hypernic’s  CloudStatus  is  one  of  the  first  to  recognize  

this  issue  and  developed  a  solution  for  it.  RightScale’s  solution  can  also  provide  monitoring  for  

the  virtual  machines  under  their  management.      

Page 36: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     36  

Cloud  Challenges  

Reliability    

&    Availab

ility  

 

Data    Governance  

Manageability     Monitoring  

Page 37: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     37  

Cloud  Challenges  

Reliability    

&    Availab

ility  

 

Data    Governance  

Manageability     Monitoring  

                   

There’s  almost  no  clear  defined  SLAs  provided  by  the  cloud  providers  today.    

Can  you  imagine  enterprises  signing  up  cloud  computing  contracts  without  SLAs  clearly  defined?  

   

Page 38: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     38  

Cloud  Challenges  

Reliability    

&    Availab

ility  

 

Data    Governance  

Manageability     Monitoring  

                   

There’s  almost  no  clear  defined  SLAs  provided  by  the  cloud  providers  today.    

Can  you  imagine  enterprises  signing  up  cloud  computing  contracts  without  SLAs  clearly  defined?  

   

Page 39: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     39  

Cloud  Challenges  

Reliability    

&    Availab

ility  

 

Virtualization    Security  

Data    Governance  

Manageability     Monitoring  

Page 40: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     40  

Cloud  Challenges  

Reliability    

&    Availab

ility  

 

Virtualization    Security  

Data    Governance  

Manageability     Monitoring  

 Many  IT  people  still  believe  that  the  hypervisor  and  virtual  

machines  are  safe.  Recent  presentations  from  Blackhat  has  demonstrate  that  we  shouldn’t  sleep  so  tight  at  night.    

 What  if  regulated  data  is  migrated  to  an  unprotected  

rack?    What  about  a  machine  image  that’s  been  lying  in  some  

obscure  location  in  the  cloud,  can  you  be  sure  it’s  secure  when  it  reappears  on  the  network?  Does  it  have  the  latest  patches?  

 

Page 41: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     41  

Cloud  Challenges  

Reliability    

&    Availab

ility  

 

Virtualization    Security  

Data    Governance  

Manageability     Monitoring  

Page 42: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  Types    

42  

“Cloud  types  and  services”,  H.  Jin,  S.  Ibrahim,  T.  Bell,  W.  Gao,  D.  Huang,  S.  Wu,  Handbook  of  Cloud  Computing,  2010    

Page 43: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  roles  and  services    

43  

“Cloud  types  and  services”,  H.  Jin,  S.  Ibrahim,  T.  Bell,  W.  Gao,  D.  Huang,  S.  Wu,  Handbook  of  Cloud  Computing,  2010    

Page 44: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Cloud  roles  and  services    

44  

IaaS

Pa

aS

SaaS

“Cloud  types  and  services”,  H.  Jin,  S.  Ibrahim,  T.  Bell,  W.  Gao,  D.  Huang,  S.  Wu,  Handbook  of  Cloud  Computing,  2010    

Page 45: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Amazon  Web  Services  

45  

Page 46: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

AWS  Family  

46  

“Cloud  types  and  services”,  H.  Jin,  S.  Ibrahim,  T.  Bell,  W.  Gao,  D.  Huang,  S.  Wu,  Handbook  of  Cloud  Computing,  2010    

Page 47: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

47  

Amazon  Consumers    

Page 48: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     48  

NYTimes  articles  from  1851  -­‐1922  available  to  the  public  online.    There  was  a  total  of  11  million  articles.    They  had  to  take  sometimes  several  TIFF  images  and  scale  and  glue  them  together  to  create  one  PDF  version  of  the  article.    They  used  100  EC2  instances  to  complete  the  job  in  just  under  24  hours.    They  started  with  4TB  of  data  that  was  uploaded  into  S3  and  through  the  conversion  process  created  another  1.5TB.  

Page 49: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     49  

Case  Study  

315,000  paying  customers  already,  and  288,000,000  photos  

Page 50: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     50  

Animoto  was  regularly  using  around  40  virtual  machines,  hosted  in  a  cloud  infrastructure.  With  the  almost  instant  success  that  Facebook's  organic  growth  provided,  Animoto  needed  to  scale  up  to  an  astounding  5,000  servers  in  four  days.  

Page 51: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    Cloud  Computing  

51  

Page 52: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Google  File  System  (FGS)  

52  

   adopted  from      Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  LeungThe  “Google  File  System”,  SOSP  '03    

 

Page 53: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!
Page 54: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!
Page 55: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Operating  Environment  •  Component  Failure  »  It’s  the  norm,  not  the  exception  »  Expect:  

•  Application,  OS  bugs  •  Human  error  •  Hardware  failure:  

–  Disks  –  Memory  –  Power  Supply  

»  Need  for:  •  Constant  monitoring  •  Error  detection  •  Fault  tolerance  •  Automatic  Recovery  “The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 56: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Non-­‐standard  data  needs  •  Files  are  huge  » Typically  multi-­‐GB  » Data  sets  can  be  many  TB  » Cannot  deal  with  typical  file  sizes  

• Would  mean  billions  of  KB  sized  files-­‐  I/O  problems!  » Must  rethink  block  sizes  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 57: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Non-­‐standard  writing  •  File  mutation  » Data  is  often  appended,  rather  than  overwritten  » Once  a  file  is  written  it  is  read  only,  typically  read  only  sequentially  » Optimization  focuses  on  appending  to  large  files  and  atomicity,  not  on  caching  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 58: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Design  Assumptions  •  Built  from  cheap  commodity  hardware  

•  Expect  large  files:  100MB  to  many  GB  

•  Support  large  streaming  reads  and  small  random  reads  

•  Support  large,  sequential  file  appends  

•  Support  producer-­‐consumer  queues  for  many-­‐way  merging  and  file  atomicity  

•  Sustain  high  bandwidth  by  writing  data  in  bulk  “The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 59: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

GFS  Architecture  •  1  master,  at  least  1  chunkserver,  many  clients  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 60: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Master  •  Responsibilities  » Maintain  metadata:  information  like  namespace,  access  control  info,  mappings  from  files  to  chunks,  chunk  locations  

» Activity  control  •  Chunk  lease  management  •  Garbage  collection  •  Chunk  migration  

» Communication  with  chunks  •  Heartbeats:  periodic  syncing  with  chunkservers  

» Lack  of  caching  •  Block  size  too  big  (64  MB)  •  Applications  stream  data  •  (Clients  will  cache  metadata,  though)  “The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 61: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Chunks  •  Identified  by  64  bit  chunk  handles  »  Globally  unique  and  assigned  by  master  at  chunk  creation  time  

•  Triple  redundancy:  copies  of  chunks  kept  on  multiple  chunkservers  

•  Chunk  size:  64  MB!  »  Plain  Linux  file  »  Advantages  

•  Reduces  R/W  &  communication  between  clients  &  master  •  Reduces  network  overhead-­‐  persistent  TCP  connection  •  Reduces  size  of  metadata  on  master  

»  Disadvantage  •  Hotspots-­‐  small  files  of  just  one  chunk  that  many  clients  need  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 62: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Metadata  •  3  main  types  to  keep  in  memory  » File  and  chunk  namespaces  » Mappings  from  files  to  chunks  » Locations  of  chunk’s  replicas  

•  First  two  are  also  kept  persistently  in  log  files  to  ensure  reliability  and  recoverability  

•  Chunk  locations  are  held  by  chunkservers-­‐  master  polls  them  for  locations  with  a  heartbeat  occasionally  (and  on  startup)  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 63: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

System  Operations  •  Leases  » Mutations  are  done  at  all  chunk’s  replicas  » Master  defines  primary  chunk  which  then  decides  serial  order  to  update  replicas  » Timeout  of  60  seconds-­‐  can  be  extended  with  help  of  heartbeats  from  master  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 64: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Write  Control  &  Data  Flow   1.  Client  asks  master  for  chunkserver  

2.  Master  replies  with  primary  &  secondaries  (client  caches)  

3.  Client  pushes  data  to  all  

4.  Clients  sends  write  to  primary  

5.  Primary  forwards  serially  

6.  Secordaries  return  completed  write  

7.  Primary  replies  to  client  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 65: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Decoupling  •  Data  &  flow  control  are  separated  » Use  network  efficiently-­‐  pipeline  data  linearly  along  chain  of  chunkservers  » Goals  

•  Fully  utilize  each  machine’s  network  bandwidth  •  Avoid  network  bottlenecks  &  high-­‐latency  

» Pipeline  is  “carefully  chosen”  •  Assumes  distances  determined  by  IP  addresses  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 66: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Master  operation  •  Executes  all  namespace  operations  

•  Manages  chunk  replicas  throughout  system  » Placement  decisions  » Creation  » Replication  

•  Load  balancing  chunkserver  

•  Reclaim  unused  storage  throughout  system  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 67: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Replica  Placement  Issues  •  Worries  » Hundreds  of  chunkservers  spread  over  many  machine  racks  » Hundreds  of  clients  accessing  from  any  rack  » Aggregate  bandwidth  of  rack  <  aggregate  bandwidth  of  all  machines  on  rack  

•  Want  to  distribute  replicas  to  maximize  data  » Scalability  » Reliability  » Availability  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 68: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Where  to  Put  a  Chunk  •  Considerations  » It  is  desirable  to  put  chunk  on  chunkserver  with  below-­‐average  disk  space  utilization  » Limit  the  number  of  recent  creations  on  each  chunkserver-­‐  avoid  heavy  write  traffic  » Spread  chunks  across  multiple  racks  

 

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 69: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Re-­‐replication  &  Rebalancing  •  Re-­‐replication  occurs  when  the  number  of  available  

chunk  replicas  falls  below  a  user-­‐defined  limit  » When  can  this  occur?  

•  Chunkserver  becomes  unavailable  •  Corrupted  data  in  a  chunk  •  Disk  error  •  Increased  replication  limit  

•  Rebalancing  is  done  periodically  by  master  » Master  examines  current  replica  distribution  and  moves  replicas  to  even  disk  space  usage  

» Gradual  nature  avoids  swamping  a  chunkserver  “The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 70: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Collecting  Garbage  •  Lazy  » Update  master  log  immediately,  but…  » Do  not  reclaim  resources  for  a  bit  (lazy  part)  » Chunk  is  first  renamed,  not  removed  » Periodic  scans  remove  renamed  chunks  more  than  a  few  days  old  (user-­‐defined)  

•  Orphans  » Chunks  that  exist  on  chunkservers  that  the  master  has  no  metadata  for  

» Chunkserver  can  freely  delete  these  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 71: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Lazy  Garbage  Pros/Cons  •  Pros  » Simple,  reliable  » Makes  storage  reclamation  a  background  activity  of  master-­‐  done  in  batches  when  the  master  has  the  time  (lets  master  focus  on  responding  to  clients,  putting  speed  at  priority)  

» A  simple  safety  net  against  accidental,  irreversible  deletion  

•  Con  » Delay  in  deletion  can  make  it  harder  to  fine  tune  storage  in  tight  situations  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 72: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Fault  Tolerance  •  Cannot  trust  hardware  

•  Goal  is  high  availability.    How?  »  Fast  recovery  » Replication  

•  Fast  Recovery  » Master  &  chunkservers  can  restore  state  and  restart  in  a  matter  of  seconds  regardless  of  failure  type  

» No  distinction  between  failure  types  at  all  

•  Chunk  Replication  » Default  to  keep  replicas  on  at  least  3  different  racks  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 73: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Scalability  •  Scales  with  available  machines,  subject  to  bandwidth  » Rack-­‐  and  datacenter-­‐aware  locality  and  replica  creation  policies  help  

•  Single  master  has  limited  responsibility,  does  not  rate-­‐limit  system  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 74: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Security  •  …  Basically  none  

•  Relies  on  Google’s  network  being  private  

•  File  permissions  not  mentioned  in  paper  » Individual  users  /  applications  must  cooperate  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 75: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Deployment  in  Google  •  50+  GFS  clusters  

•  Each  with  thousands  of  storage  nodes  

•  Managing  petabytes  of  data  

•  GFS  is  under  BigTable,  etc.  

 

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 76: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Conclusion  •  GFS  demonstrates  how  to  support  large-­‐scale  

processing  workloads  on  commodity  hardware  » design  to  tolerate  frequent  component  failures  » optimize  for  huge  files  that  are  mostly  appended  and  read  » feel  free  to  relax  and  extend  FS  interface  as  required  » go  for  simple  solutions  (e.g.,  single  master)  

•  GFS  has  met  Google’s  storage  needs…  it  must  be  good!  

“The  Google  File  System”,  “Sanjay  Ghemawat,  Howard  Gobioff,  and  Shun-­‐Tak  Leung,SOSP  '03    

Page 77: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Google  MapReduce      Adapted  from  a  Presentation  by    Walfredo  Cirne  (Google)    "Google  Infrastructure  for  Massive  Parallel  Processing",  Presentation  in  the  industrial  track  in  CCGrid'2007.    

 77  

Page 78: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

MapReduce  –  Motivation  •       Introduced  by  Google  in  2004    

•     Big  Data  @  Google:  » 20+  billion  web  pages  x  20KB  =  400+  TB  

•     One  computer  can  read  30-­‐35  MB/sec  from  disk  » ~4  months  to  read  the  web  » ~1,000  hard  drives  just  to  store  the  web  

• Even  more  Time/HDD,  to  do  something  with  the  data  (e.g.,  data  processing)    

78  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

Page 79: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Solution  

Good  news:  “easy” parallelisation    » Reading  the  web  with  1000  machines  ⇒less  than  3  hours    

Bad  news:  programming  work    » Communication  and  coordination    » Debugging    » Fault  tolerance    » Management  and  monitoring    » Optimization    

Worse  news:  repeat  for  every  problem  you  want  to  solve  

Spread  the  work  over  many  machines  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

Page 80: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

And  the  Problem  Size  is  Ever  Growing…  Every  Google  service  sees  continuing  growth  in  computational  needs    

More  queries    » More  users,  happier  users    

More  data    » Bigger  web,  mailbox,  blog,  etc.    

Better  results    » Find  the  right  information,  and  find  it  faster!  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

80  

Page 81: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Conclusion:Infrastructure  is  a  Real  Challenge    

At  Google’s  scale,  building  and  running  a  computing  infrastructure  that  is  efficient,  cost-­‐effective,  and  easy-­‐to-­‐use  is  one  of  the  most  challenging  technical  points!    

 

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

81  

Page 82: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Typical  Computer  Multicore  machine    »  ~  1-­‐2  TB  of  disk    »  ~  4GB-­‐16GB  of  RAM    

Typical  machine  runs:    »  Google  File  System  (GFS)  »  Scheduler  daemon  for  starting  user  tasks    »  One  or  many  user  tasks  

Tens  of  thousands  of  such  machines  

Problem  :  What  programming  model  to  use  as  a  basis  for  scalable  parallel  processing  ?  "Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

82  

Page 83: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

What  Is  Needed?  A  simple  programming  model  that  applies  to  many  data-­‐intensive  computing  problems    

Approach:  hide  messy  details  in  a  runtime  library:    » Automatic  parallelization    » Load  balancing    » Network  and  disk  transfer  optimization    » Handling  of  machine  failures    » Robustness    »  Improvements  to  core  library  benefit  all  users  of  library!  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

83  

Page 84: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Such  a  Model  is…  MapReduce!    

Typical  problem  solved  by  MapReduce  » Read  a  lot  of  data    » Map:  extract  something  you  care  about  from  each  record    » Shuffle  and  Sort    » Reduce:  aggregate,  summarize,  filter,  or  transform    » Write  the  results    

Outline  stays  the  same,  map  and  reduce  change  to  fit  the  problem  "Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

84  

Page 85: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

More  Specifically…  •     It  is  inspired  by  the  Map  and  Reduce  functions  (i.e.,  It  borrows  from  functional  programming)  

•     Users  implement  interface  of  two  primary  functions  » map(k,  v)  →  <k',  v'>*    » reduce(k',  <v'>*)  →  <k',  v''>*    

All  v'  with  same  k'  are  reduced  together,  and  processed  in  v'  order  

 

 

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

85  

Page 86: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

More  Specifically…  

Map  

Map  

Map  

Reduce  

Reduce  

Input   Output  

<key,  value>  

Shuffle  map   Reduce  

               

Map  Phase   Reduce  Phase  

map(k, v) → <k', v'>* Records  from  the  data  source  (lines  out  of  files,  rows  of  a  database,  etc)  are  fed  into  the  map  function  as  key*value  pairs:  e.g.,  (filename,  line)  "Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

86  

Page 87: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

More  Specifically…  

Map  

Map  

Map  

Reduce  

Reduce  

Input   Output  

<key,  value>  

Shuffle  map   Reduce  

               

Map  Phase   Reduce  Phase  

After  the  map  phase  is  over,  all  the  intermediate  values  for  a  given  output  key  are  combined  together  into  a  list  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

87  

Page 88: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

More  Specifically…  

Map  

Map  

Map  

Reduce  

Reduce  

Input   Output  

<key,  value>  

Shuffle  map   Reduce  

               

Map  Phase   Reduce  Phase  

reduce(k', <v'>*) → <k', v''>* reduce()  combines  those  intermediate  values  into  one  or  more  final  values  per  key  (usually  only  one)  "Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

88  

Page 89: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

MapReduce:Scheduling  One  master,  many  workers    »  Input  data  split  into  M  map  tasks  (typically  64  MB  in  size)    » Reduce  phase  partitioned  into  R  reduce  tasks    » Tasks  are  assigned  to  workers  dynamically    » Per  worker  input  size  =  GFS  chunk  size!  » Often:  M=200,000;  R=4,000;  workers=2,000    

 

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

89  

Page 90: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

MapReduce:Scheduling  Master  assigns  each  map  task  to  a  free  worker    » Considers  locality  of  data  to  worker  when  assigning  task    » Worker  reads  task  input  (often  from  local  disk!)  » Worker  produces  R  local  files  containing  intermediate  k/v  pairs    

Master  assigns  each  reduce  task  to  a  free  worker    » Worker  reads  intermediate  k/v  pairs  from  map  workers    » Worker  sorts  &  applies  user’s  Reduce  op  to  produce  the  output  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

90  

Page 91: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

MapReduce:Features  •   Exploit  Parallelization:    » Tasks  are  executed  in  Parallel  

•     Fault  tolerance  » Re-­‐execute  only  the  tasks  on  Failed  machines  

•     Exploit  data  locality  » Co-­‐locate  data  and  computation  power  therefore  avoid  network  bottleneck  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

91  

Page 92: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Parallelism  map()  functions  run  in  parallel,  creating  different  intermediate  values  from  different  input  data  sets  

reduce()  functions  also  run  in  parallel,  each  working  on  a  different  output  key  

All  values  are  processed  independently  

Bottleneck:  reduce  phase  can’t  start  until  map  phase  is  completely  finished.  "Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

92  

Page 93: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Fault  Tolerance  On  worker  failure  » Detects  failure  via  periodic  heartbeats    » Re-­‐executes  completed  &  in-­‐progress  map()  tasks  » Re-­‐executes  in-­‐progress  reduce()  tasks  

Master  notices  particular  input  key/values  that  cause  crashes  in  map(),  and  skips  those  values  on  re-­‐execution.  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

93  

Page 94: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Backup  Task  Slow  workers  significantly  lengthen  completion  time    » Other  jobs  consuming  resources  on  machine  » Bad  disks  with  soft  errors  transfer  data  very  slowly  » Weird  things:  processor  caches  disabled  (!!)  

 Solution:  Near  end  of  phase,  spawn  backup  copies  of  tasks  –  Whichever  one  finishes  first  "wins"    Effect:  Dramatically  shortens  job  completion  time    

94  

Page 95: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Dealing  with  failures  

95  

Page 96: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Locality  optimization  Master  scheduling  policy:  » Asks  GFS  for  locations  of  replicas  of  input  file  blocks  » Map  tasks  typically  split  into  64MB  (==  GFS  block  size)  » Map  tasks  scheduled  so  GFS  input  block  replica  are  on  same  machine  or  same  rack  

 Effect:  Thousands  of  machines  read  input  at  local  disk  speed    •  Without  this,  rack  switches  limit  read  rate    

96  

Page 97: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Actual  Google  MapReduce  Example  is  written  in  pseudo-­‐code  

Actual  implementation  is  in  C++,  using  a  MapReduce  library  

Bindings  for  Python  and  Java  exist  via  interfaces  

True  code  is  somewhat  more  involved  (defines  how  the  input  key/values  are  divided  up  and  accessed,  etc.)  "Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

97  

Page 98: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Widely  Applicable  at  Google  

distributed  grep    

distributed  sort    

term-­‐vector  per  host    

document  clustering    

machine  learning    

...  

web  access  log  stats    

web  link-­‐graph  reversal    

inverted  index  construction    

statistical  machine  translation    

…  

"Google  Infrastructure  for  Massive  Parallel  Processing",  Walfredo  Cirne,    Presentation  in  the  industrial  track  in  CCGrid'2007.  

98  

Page 99: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

99  

Page 100: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

100  

split  

Page 101: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

101  

split  

map  

map  

map  

Page 102: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

102  

split  

map  

map  

map  

Shuffle/sort  

Shuffle/sort  

Shuffle/sort  

Page 103: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

103  

Shuffle/sort  

Shuffle/sort  

Shuffle/sort  

Page 104: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

104  

Shuffle/sort  

Shuffle/sort  

Shuffle/sort  

Page 105: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

The  Colored  Squares  Counter    

105  

Shuffle/sort  

Shuffle/sort  

Shuffle/sort  

Reduce  

Reduce  

Reduce  

,7

,7

,4

Page 106: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Word  Count  Example  

106  

Page 107: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

MapReduce:  Implementations  

107  

Page 108: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM     108  

Page 109: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Acknowledgments      Walfredo  Cirne  (Google)  

Sanjay  Ghemawat  (Google)  

 Howard  Gobioff  (Google)  

Shun-­‐Tak  Leung  (Google)  

109  

Page 110: Big!Data! Processinginthe Cloud!!! - IT4Innovationsprace.it4i.cz/sites/prace.it4i.cz/files/files/hadoop-10-2015-lecture2.pdf · Intro&to&Big&Data&–&INRIA&&&&&S.IBRAHIM&& 23" Cloud!Characteristics!!

Intro  to  Big  Data  –  INRIA          S.IBRAHIM    

Thank  you!  

110  

Shadi  Ibrahim  

[email protected]