1 / 14

Our experience with NoSQL and MapReduce technologies

Our experience with NoSQL and MapReduce technologies. Fabio Souto IT Monitoring Working Group, 19 th September 2011. Outline. Objective Big data technologies Technologies reviewed Deployed infrastructure Current status Lessons learned. Problem and goal. The SAM infrastructure for WLCG

blue
Télécharger la présentation

Our experience with NoSQL and MapReduce technologies

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Our experience with NoSQL and MapReduce technologies Fabio Souto IT Monitoring Working Group, 19th September 2011

  2. Outline • Objective • Big data technologies • Technologies reviewed • Deployed infrastructure • Current status • Lessons learned 2

  3. Problem and goal • The SAM infrastructure for WLCG • monitors 400 sites and ~2,000 services daily • receives and stores ~600,000 metric results daily • computesstatuses and hourly availabilities for services and sites • SWAT is a system to gather information about the configuration of WNs • Massive data generation, making storage, search, sharing, analytics and visualizing difficult • Objective: proof of concept using big data technologies 3

  4. Big Data Technologies • NoSQLdatabases • Not relational. Schema free. • Distributed • High availability • MapReduce • Framework for processing huge datasets on clusters of computers • Takes advantage of data locality: • Move computation is more efficient than moving data 4

  5. Technologies reviewed • NoSQL databases ~140 different solutions, we focused on: • MongoDB • No durability(at the moment of study) • Cassandra • No single point of failure • Big and responsive community • Apache Hadoop • Big data de facto standard • Framework for data intensive applications • To write MapReduce jobs for Cassandra 5

  6. Technologies reviewed II • Hive and Pig • ease the complexity of writing MapReduce • Initially not considered • Less efficient than pure Hadoop • Independent from the data source • We can change to HBase easily • Hive: SQL-like syntax • Pig: data flow language • Is not turing complete (no loops, if-else…) • But can be embebed into python code • It’s possible to write custom functions in python/java 6

  7. Technologies reviewed III • Hue • Set of Django apps to interact with Hadoop • OpenTSDB • Open source time series database • Lack of flexibility • Oozie • Job scheduler and workflow engine for Hadoop 7

  8. Other Tools • Msg-consume2db inserter: • WLCG Messaging infrastructure -> NoSQL • sql2nosql-sync • SAM Oracle DB -> NoSQL 8

  9. Actual infrastructure Deployed infrastructure 9

  10. Actual infrastructure 10

  11. Current status • SAM • DONE: running infrastructure reading messaging and SAM data and launch pig jobs to calculate availability. • TODO: • Results tuning • Web interface to visualize the results • JSON/XML API to extract results • Unit testing • SWAT • Early stage of development (~6 days) • Data collection 11

  12. Lessons learned • Use abstraction layer on top of Hadoop • Write pure MapReduce Hadoop apps is difficult and time-consuming • Choose a solution with a responsive community: • Technology in early state(unresolved bugs, undocumented functions), you will need to get in touch with developers/users • Big data needs big platform 12

  13. Lessons learned • Must keep up to date. New companies, technologies and tools are emerging • Twitter real time hadoop about to be released • Cascalog, hadoop data mining language • Bigdata distributions: Cloudera, Datastax, Mapr… 13

  14. Questions? 14

More Related