SlideShare a Scribd company logo
BIG DATA


Wesley Backelant
Technology Advisor
Microsoft
@WesleyBackelant

Nathan Bijnens
Big Data Consultant
DataCrunchers
@nathan_gs
AGENDA

•   Big Data
•   Hadoop (& Ecosystem)
•   How does it fit in the Microsoft world?
•   Demo
•   Resources
•   Q&A
THE WORLD OF DATA IS CHANGING
TODAY A NEW SET OF QUESTIONS ARE BEING ASKED OF
THE BUSINESS:


      What’s the social                         How do I better
      sentiment for my                          predict future
      brand or products                         outcomes?




                          How do I optimize
                          my fleet based on
                          weather and traffic
                          patterns?
TRANSFORMATION OF ONLINE MARKETING




            BLOGS.FORBES.COM/DAVEFEINLEIB
TRANSFORMATION OF OPERATIONS




            BLOGS.FORBES.COM/DAVEFEINLEIB
TRANSFORMATION OF CUSTOMER SERVICE




            BLOGS.FORBES.COM/DAVEFEINLEIB
TRANSFORMATION OF ENERGY
TRANSFORMATION OF FRAUD DETECTION




Then…                 Now…
NEW HARDWARE APPROACH
Traditional                Big Data
  Exotic HW                 Commodity HW
   • Big central servers         • racks of pizza boxes
   • SAN                         • Ethernet
   • RAID                        • JBOD
 Hardware reliability       Unreliable HW
 Limited scalability        Scales further
                            Cost effective
NEW SOFTWARE APPROACH
Traditional             Big Data
  Monolotic              Distributed
   • Centralized            - storage & compute nodes
   • RDBMS               Raw data
 Schema first
 Proprietary
HADOOP & BIG DATA ECOSYSTEM




               MapReduce


              HDFS
Microsoft Big Data @ SQLUG 2013
HDFS
HDFS
Microsoft Big Data @ SQLUG 2013
MAPREDUCE
MAPREDUCE
MAPREDUCE
HIVE
HIVE

A data warehouse infrastructure built on top of
 Hadoop for providing data summarization, query, and
 analysis.
   – Ideal for ad hoc querying
   – Query execution via MapReduce.

Key Building Principles:
   – SQL
   – Extensibility
       – Types
       – Functions
       – Scripts
HIVE

It supports many SQL features like:
    – Data partitioning
    – Aggregations
    – Grouping
    – Joins
HIVE

And it’s extendable using UDFs.
 package com.example.hive.udf;

 import org.apache.hadoop.hive.ql.exec.UDF;
 import org.apache.hadoop.io.Text;

 public final class Lower extends UDF {
   public Text evaluate(final Text s) {
     if (s == null) { return null; }
     return new Text(s.toString().toLowerCase());
   }
 }




There are many UDFs published by external parties, for:
- Loading / Saving (SerDe)
- Field Transformations
Microsoft Big Data @ SQLUG 2013
HADOOP PIG: INTRO




Pig is a high level data flow language.
HADOOP PIG: 3 COMPONENTS

• Pig Latin

• Grunt

• PigServer
HADOOP PIG


data = LOAD 'employee.csv' USING PigStorage() AS (
                 first_name:chararray,
                 last_name:chararray,
                 age:int,
                 wage:float,
                 department:chararray
         );
HADOOP PIG



grouped_by_department = GROUP data BY department;

total_wage_by_department =
         FOREACH grouped_by_department
         GENERATE
                  group AS department,
                  COUNT(data) as employee_count,
                  SUM(data::wage) AS total_wage;

total_ordered = ORDER total_wage_by_department BY total_wage;

total_limited = LIMIT total_ordered 10;
HADOOP PIG



DUMP total_limited;

STORE total_limited INTO ‘/test/’;
UDF

●   Custom Load and Store classes.
    ●   Hbase
    ●   ProtocolBuffers
    ●   CombinedLog
●   Custom extraction
    eg. date, ...


●   Take a look at the PiggyBank.
Microsoft Big Data @ SQLUG 2013
HBASE

  A distributed, versioned, column-oriented
   database.
• Main features:
  • Horizontal scalability
  • Machine failure tolerance
  • Row-level atomic operations including compare-and-swap ops like
    incrementing counters
  • Augmented key-value schemas, the user can group columns into families which
    are configured independently
  • Multiple clients like its native Java library, Thrift, and REST
  • Upcoming Security
Microsoft Big Data @ SQLUG 2013
STORM
STORM
STORM

•   Message passing.
•   Distributed processing.
•   Horizontally scalable.
•   Incremental algorithms.
•   Fast.

• Data in motion.
STORM




                          Nimbus                                       Zookeeper



        Supervisor                 Supervisor                 Supervisor
        Worker


                 Worker


                          Worker



                                   Worker




                                                              Worker
                                            Worker




                                                                        Worker
                                                     Worker




                                                                                 Worker
        Worker Node                Worker Node                Worker Node
STORM

• Tuple




• Stream
STORM

• Spout




• Bolt
STORM

• Grouping
A DATA SYSTEM
DATA IS MORE THAN INFORMATION




            Not all information is equal.
      Some information is derived from other pieces of information.
DATA IS MORE THAN INFORMATION




Eventually you will reach the most ‘raw’
         form of information.
      This is the information you hold true, simple because it exists.
                 Let’s call this ‘data’, very similar to ‘event’.
EVENTS
Everything we do generates events:
  •   Pay with Credit Card
  •   Commit to Git
  •   Click on a webpage
  •   Tweet
EVENTS - BEFORE




       Events used to manipulate
            the master data.
EVENTS - AFTER




       Today, events are the master
                  data.
DATA SYSTEM




         Let’s store everything.
EVENTS




         Data is Immutable
EVENTS




         Data is Time Based
CAPTURING CHANGE TRADITIONALLY




Person   Location          Person   Location
Nathan   Antwerp           Nathan   Ghent
Geert    Dendermonde       Geert    Dendermonde
John     Ghent             John     Ghent
CAPTURING CHANGE




Person   Location      Timestamp    Person   Location      Time

                                    Nathan   Antwerp       2005-01-01
Nathan   Antwerp       2005-01-01

                                    Geert    Dendermonde   2011-10-08
Geert    Dendermonde   2011-10-08

                                    John     Ghent         2010-05-02
John     Ghent         2010-05-02

                                    Nathan   Ghent         2013-02-03
QUERY




        The data you query is often
        transformed, aggregated, ...
            Rarely used in it’s original form.
QUERY




   Query = function ( data )
NUMBER OF PEOPLE LIVING IN EACH CITY.




Person   Location      Time         Location      Count
Nathan   Antwerp       2005-01-01   Ghent         2
                                    Dendermonde   1
Geert    Dendermonde   2011-10-08



John     Ghent         2010-05-02



Nathan   Ghent         2013-02-03
QUERY




        All Data   Query
QUERY: PRECOMPUTE




     All Data       Precomputed
                       View       Query
LAYERED ARCHITECTURE




                  Batch Layer


                 Speed Layer


                 Serving Layer
LAYERED ARCHITECTURE


                                     SQL




                                                    Query
Incoming Data

                        HD Insight
                                           Column
                                            Store
BATCH LAYER
BATCH LAYER




Incoming Data

                HD Insight
                             Column
                              Store
BATCH LAYER




       Unrestrained computation.
BATCH LAYER




              Horizontal scalable.
BATCH LAYER




                  High Latency.
       Let’s pretend temporarily that update latency
                       doesn’t matter.
BATCH LAYER




      Stores master copy of data set...
               append only.
BATCH LAYER
BATCH: VIEW GENERATION




                                     View #1

     Master Dataset


                                     View #2
                         MapReduce




                                     View #3
MAPREDUCE


          1. Take a large problem and divide it into sub-problems

                                                              …
 MAP




          2. Perform the same function on all sub-problems
                                                              …
                DoWork()      DoWork()         DoWork()



          3. Combine the output from all sub-problems
 REDUCE




                                                …



                                 Output
BATCH VIEW DATABASE




           Read only database.
             No random writes required.
BATCH LAYER



We are not done yet…             Just a few hours of data.




                                     Not yet
Data absorbed into Batch Views      absorbed.


                       Time




                                                         Now
SPEED LAYER
OVERVIEW


                             SQL




Incoming Data

                HD Insight
                                   Column
                                    Store
SPEED LAYER




              Stream processing.
SPEED LAYER




        Continuous computation.
SPEED LAYER




              Transactional.
SPEED LAYER




     Storing a limited window of data.
         Compensating for the last few hours of data.
SPEED LAYER




   All the complexity is isolated in the
  Speed layer. If anything goes wrong,
            it’s auto-corrected.
CAP

You have a choice between:
• Availability
  • Queries are eventual consistent.
• Consistency
  • Queries are consistent.
EVENTUAL ACCURACY




     Some algorithms are hard to
   implement in real time. For those
  cases we could estimate the results.
SPEED LAYER




                 Real
                 Time
                View 1



Incoming Data

                 Real
                 Time
                View 2
SPEED LAYER VIEWS
• The views are stored in Read & Write database.
  •   MS SQL Server
  •   Column Store
  •   Cassandra
  •   …
• Much more complex than a read only view.
SERVING LAYER
OVERVIEW


                             SQL




                                            Query
Incoming Data

                HD Insight
                                   Column
                                    Store
SERVING LAYER




   This layer queries the Batch & Real
        Time views and merges it.
SERVING LAYER




            Batch
            Views




                    Merge


             Real
            Time
            Views
SERVING LAYER




      Polybase is a great fit.
OVERVIEW
OVERVIEW


                             SQL




                                            Query
Incoming Data

                HD Insight
                                   Column
                                    Store
LAMBDA ARCHITECTURE
• Can discard any view, batch and real time, and just recreate
  everything from the master data.
• Mistakes are corrected via recomputation.
  • Write bad data? Remove the data & recompute.
  • Bug in view generation? Just recompute the view.
• Data storage is highly optimized.
MICROSOFT BIG DATA
WHAT IS MICROSOFT DOING ON
THE BI & DEVELOPMENT SIDE
INSIGHTS FROM ANY DATA, ANY SIZE, ANYWHERE




                                   010101010101010101
                                    1010101010101010
                                     01010101010101
                                      101010101010
WE DELIVER INSIGHTS TO EVERYONE BY ENABLING BIG DATA
ANALYSIS WITH FAMILIAR END USER TOOLS
Benefits




               Interaction and analysis of
               unstructured data in Hadoop
Key Features




               Hive add-in for Excel
UNLOCKING IMMERSIVE INSIGHTS FROM ALL DATA
WITH MICROSOFT BI TOOLS
Benefits




               Familiar self service BI tools
Key Features




               Hive ODBC Driver integrates Hadoop
               to SQL Server Analysis Services,
               PowerPivot, and Power View
WHILE DRAMATICALLY SIMPLIFYING PROGRAMMING
ON HADOOP

               MapReduce
               programs
Benefits




               in JavaScript


               Simplified                     Simplified Deployment of
               Programming                    MapReduce jobs
Key Features




                               JS
                                              Deploy JavaScript Hadoop
               Integration with .NET and      jobs from a simple web
               new JavaScript libraries for   browser on any supported
               Hadoop                         device
WE MANAGE STREAMING DATA WITH STREAMINSIGHT
Benefits
Key Features




               StreamInsight   SQL StreamInsight
WHAT IS MICROSOFT DOING ON
THE HADOOP & INTEGRATION SIDE?
WE MANAGE RELATIONAL DATA WITH MICROSOFT
ENTERPRISE DATA WAREHOUSE SOLUTIONS
              Reference Architectures   Appliances




                                        Dell Parallel   HP Enterprise
                                        Data            Data
                    Fast Track for      Warehouse       Warehouse



                                        Dell
                                                        HP Business
                                        Quickstart
                                                        Data
                                        Data
                                                        Warehouse
                                        Warehouse
INTRODUCING POLYBASE
Fundamental Breakthrough in Data Processing




                                   Single Query; Structured and Unstructured
       SQL
                               •     Query and join Hadoop tables with Relational Tables

             SQL Server 2012   •     Use Standard SQL language
             PDW Powered               •    Select, From Where
             by PolyBase


                                   Existing SQL         No IT      Save Time     Analyze All
                                      Skillset      Intervention   and Costs     Data Types
AND SUPPORT UNSTRUCTURED DATA WITH ENTERPRISE
CLASS HADOOP ON PREMISE AND IN THE CLOUD
Benefits
Key Features
MICROSOFT BRINGS THE SIMPLICITY AND MANAGEABILITY
OF WINDOWS AND SQL SERVER TO HADOOP
 Benefits
 Key Features
MICROSOFT DELIVERS BIG DATA THROUGH OPEN
PLATFORM AND A RICH PARTNER ECOSYSTEM
Benefits
Key Features
BIG DATA DEMO:
FROM DATA TO INSIGHTS!



             Analysis with familiar   Collaboration on
Simplicity   tools                    insights
THANK YOU!!!
RESOURCES
•   Microsoft Big Data Solution: www.microsoft.com/bigdata
•   Windows Azure: www.windowsazure.com/en-us/home/scenarios/big-data
•   Try Now: https://www.hadooponazure.com
•   HDInsight For Windows Beta Download: http://hortonworks.com/download/
•   HDInsight Services For Windows:
    http://social.technet.microsoft.com/wiki/contents/articles/6204.hdinsight-services-for-
    windows.aspx#videos
•   Hadoop in PowerPivot: http://social.technet.microsoft.com/wiki/contents/articles/6294.how-to-
    connect-excel-powerpivot-to-hive-on-azure-via-hiveodbc.aspx
•   Hadoop in SSIS: http://msdn.microsoft.com/en-us/library/jj720569.aspx
•   Hurricane Sandy: http://sqlcat.com/sqlcat/b/msdnmirror/archive/2013/02/01/hurricane-sandy-
    mash-up-hive-sql-server-powerpivot-amp-power-view.aspx
•   Hadoop PowerShell: http://blogs.msdn.com/b/cindygross/archive/2012/08/23/how-to-install-the-
    powershell-cmdlets-for-apache-hadoop-based-services-for-windows.aspx
•   SQL Server BCP to Hive: http://blogs.msdn.com/b/cindygross/archive/2012/09/28/load-sql-server-
    bcp-data-to-hive.aspx
•   Internal vs External Table Hive: http://blogs.msdn.com/b/cindygross/archive/2013/02/06/hdinsight-
    hive-internal-and-external-tables-intro.aspx
•   Microsoft.NET SDK for Hadoop: http://hadoopsdk.codeplex.com/
•   Twitter Analytics Example: http://twitterbigdata.codeplex.com/
DATACRUNCHERS

We enable companies in envisioning, defining and implementing a data
strategy.
A one-stop-shop for all your Big Data needs.


The first Big Data Consultancy agency in Belgium.

More Related Content

What's hot (20)

PDF
Open Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
DataWorks Summit
 
PPTX
Programmatic Bidding Data Streams & Druid
Charles Allen
 
PDF
From stream to recommendation using apache beam with cloud pubsub and cloud d...
Neville Li
 
PPT
Resilience: the key requirement of a [big] [data] architecture - StampedeCon...
StampedeCon
 
PPTX
Using Multiple Persistence Layers in Spark to Build a Scalable Prediction Eng...
StampedeCon
 
PDF
Anomaly Detection in Telecom with Spark - Tugdual Grall - Codemotion Amsterda...
Codemotion
 
PDF
Real-time analytics with Druid at Appsflyer
Michael Spector
 
PDF
Lifting the hood on spark streaming - StampedeCon 2015
StampedeCon
 
PDF
Reference architecture for Internet Of Things
elephantscale
 
PPTX
Data Pipelines & Integrating Real-time Web Services w/ Storm : Improving on t...
Brian O'Neill
 
PDF
Real-Time Analytics with Apache Cassandra and Apache Spark
Guido Schmutz
 
PPT
Case Study: Realtime Analytics with Druid
Salil Kalia
 
PPTX
July 2014 HUG : Pushing the limits of Realtime Analytics using Druid
Yahoo Developer Network
 
PDF
Rapids: Data Science on GPUs
inside-BigData.com
 
PDF
Big Data Architectures @ JAX / BigDataCon 2016
Guido Schmutz
 
PDF
Strata lightening-talk
Danny Yuan
 
PDF
Azure + DataStax Enterprise Powers Office 365 Per User Store
DataStax Academy
 
PDF
Architecting a next-generation data platform
hadooparchbook
 
PPTX
Yahoo compares Storm and Spark
Chicago Hadoop Users Group
 
PPTX
Apache Druid Design and Future prospect
c-bslim
 
Open Source Lambda Architecture with Hadoop, Kafka, Samza and Druid
DataWorks Summit
 
Programmatic Bidding Data Streams & Druid
Charles Allen
 
From stream to recommendation using apache beam with cloud pubsub and cloud d...
Neville Li
 
Resilience: the key requirement of a [big] [data] architecture - StampedeCon...
StampedeCon
 
Using Multiple Persistence Layers in Spark to Build a Scalable Prediction Eng...
StampedeCon
 
Anomaly Detection in Telecom with Spark - Tugdual Grall - Codemotion Amsterda...
Codemotion
 
Real-time analytics with Druid at Appsflyer
Michael Spector
 
Lifting the hood on spark streaming - StampedeCon 2015
StampedeCon
 
Reference architecture for Internet Of Things
elephantscale
 
Data Pipelines & Integrating Real-time Web Services w/ Storm : Improving on t...
Brian O'Neill
 
Real-Time Analytics with Apache Cassandra and Apache Spark
Guido Schmutz
 
Case Study: Realtime Analytics with Druid
Salil Kalia
 
July 2014 HUG : Pushing the limits of Realtime Analytics using Druid
Yahoo Developer Network
 
Rapids: Data Science on GPUs
inside-BigData.com
 
Big Data Architectures @ JAX / BigDataCon 2016
Guido Schmutz
 
Strata lightening-talk
Danny Yuan
 
Azure + DataStax Enterprise Powers Office 365 Per User Store
DataStax Academy
 
Architecting a next-generation data platform
hadooparchbook
 
Yahoo compares Storm and Spark
Chicago Hadoop Users Group
 
Apache Druid Design and Future prospect
c-bslim
 

Viewers also liked (20)

PDF
Hadoop Pig: MapReduce the easy way!
Nathan Bijnens
 
PPTX
Microsoft cloud big data strategy
James Serra
 
PPTX
PPT on Microsoft Corporation
Vijaykumar Nishad
 
PDF
Big Data and Analytics: The IBM Perspective
The_IPA
 
PDF
Lambda Architecture Using SQL
SATOSHI TAGOMORI
 
PDF
Ibm big data-platform
IBM Sverige
 
PDF
How Google Does Big Data - DevNexus 2014
James Chittenden
 
PDF
The Hive Think Tank - The Microsoft Big Data Stack by Raghu Ramakrishnan, CTO...
The Hive
 
PDF
Industrial Internet of Things -- Microsoft DC Azure Meetup
Stephen Bates
 
PDF
Reactive Streams: Handling Data-Flow the Reactive Way
Roland Kuhn
 
PDF
SME Funding in Horizon 2020 - Are You Ready?
Zaz Ventures
 
PDF
Understanding Akka Streams, Back Pressure, and Asynchronous Architectures
Lightbend
 
PPTX
Industrial Internet of Things and (Machine to Machine) M2M Overview
Bryan Kester
 
PDF
Overview - IBM Big Data Platform
Vikas Manoria
 
PDF
Global flows in a digital age
McKinsey & Company
 
PDF
Strategic Analysis of Microsoft Corp. (2014)
Chinmay Chauhan
 
PPTX
Presentation on microsoft
Joel Pais
 
PDF
Winning competition through organizational agility
McKinsey & Company
 
DOCX
Microsoft corporation case analysis
Wasim Parmar
 
PPTX
Choosing technologies for a big data solution in the cloud
James Serra
 
Hadoop Pig: MapReduce the easy way!
Nathan Bijnens
 
Microsoft cloud big data strategy
James Serra
 
PPT on Microsoft Corporation
Vijaykumar Nishad
 
Big Data and Analytics: The IBM Perspective
The_IPA
 
Lambda Architecture Using SQL
SATOSHI TAGOMORI
 
Ibm big data-platform
IBM Sverige
 
How Google Does Big Data - DevNexus 2014
James Chittenden
 
The Hive Think Tank - The Microsoft Big Data Stack by Raghu Ramakrishnan, CTO...
The Hive
 
Industrial Internet of Things -- Microsoft DC Azure Meetup
Stephen Bates
 
Reactive Streams: Handling Data-Flow the Reactive Way
Roland Kuhn
 
SME Funding in Horizon 2020 - Are You Ready?
Zaz Ventures
 
Understanding Akka Streams, Back Pressure, and Asynchronous Architectures
Lightbend
 
Industrial Internet of Things and (Machine to Machine) M2M Overview
Bryan Kester
 
Overview - IBM Big Data Platform
Vikas Manoria
 
Global flows in a digital age
McKinsey & Company
 
Strategic Analysis of Microsoft Corp. (2014)
Chinmay Chauhan
 
Presentation on microsoft
Joel Pais
 
Winning competition through organizational agility
McKinsey & Company
 
Microsoft corporation case analysis
Wasim Parmar
 
Choosing technologies for a big data solution in the cloud
James Serra
 
Ad

Similar to Microsoft Big Data @ SQLUG 2013 (20)

KEY
The Secrets of Building Realtime Big Data Systems
nathanmarz
 
PPTX
Nosql
Brandon Byars
 
PDF
The Synergy Between the Object Database, Graph Database, Cloud Computing and ...
InfiniteGraph
 
PPTX
Big Data Analysis : Deciphering the haystack
Srinath Perera
 
PDF
Big Data and Fast Data combined – is it possible?
Swiss Data Forum Swiss Data Forum
 
PPTX
Big Data: Architectures and Approaches
Thoughtworks
 
KEY
Processing Big Data
cwensel
 
PPTX
Big Data vs Data Warehousing
Thomas Kejser
 
PDF
Realtime Analytics with Storm and Hadoop
DataWorks Summit
 
PPT
Introduction to Large Scale Data Analysis with WSO2 Analytics Platform
Srinath Perera
 
PDF
Crunching Data with Google BigQuery. JORDAN TIGANI at Big Data Spain 2012
Big Data Spain
 
PPTX
bda ghhhhhftttyygghhjjuuujjjhhunit1.pptx
meganath16032003
 
PPTX
Big Data & Hadoop Introduction
Jayant Mukherjee
 
PPT
Ibm big data hadoop summit 2012 james kobielus final 6-13-12(1)
Ajay Ohri
 
PPTX
Software architecture for data applications
Ding Li
 
PPTX
The Microsoft BigData Story
Lynn Langit
 
PDF
Big Data and Implications on Platform Architecture
Odinot Stanislas
 
PDF
Big data analytics 1
gauravsc36
 
PDF
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
Perficient, Inc.
 
PDF
Ibm big data ibm marriage of hadoop and data warehousing
DataWorks Summit
 
The Secrets of Building Realtime Big Data Systems
nathanmarz
 
The Synergy Between the Object Database, Graph Database, Cloud Computing and ...
InfiniteGraph
 
Big Data Analysis : Deciphering the haystack
Srinath Perera
 
Big Data and Fast Data combined – is it possible?
Swiss Data Forum Swiss Data Forum
 
Big Data: Architectures and Approaches
Thoughtworks
 
Processing Big Data
cwensel
 
Big Data vs Data Warehousing
Thomas Kejser
 
Realtime Analytics with Storm and Hadoop
DataWorks Summit
 
Introduction to Large Scale Data Analysis with WSO2 Analytics Platform
Srinath Perera
 
Crunching Data with Google BigQuery. JORDAN TIGANI at Big Data Spain 2012
Big Data Spain
 
bda ghhhhhftttyygghhjjuuujjjhhunit1.pptx
meganath16032003
 
Big Data & Hadoop Introduction
Jayant Mukherjee
 
Ibm big data hadoop summit 2012 james kobielus final 6-13-12(1)
Ajay Ohri
 
Software architecture for data applications
Ding Li
 
The Microsoft BigData Story
Lynn Langit
 
Big Data and Implications on Platform Architecture
Odinot Stanislas
 
Big data analytics 1
gauravsc36
 
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
Perficient, Inc.
 
Ibm big data ibm marriage of hadoop and data warehousing
DataWorks Summit
 
Ad

More from Nathan Bijnens (13)

PPTX
AI Revolution unleashed with AI Foundry at AI Tour Brussels
Nathan Bijnens
 
PPTX
AI Agents, such as Autogen at Tide Sprint
Nathan Bijnens
 
PPTX
Large Language Models vs Small Language Models
Nathan Bijnens
 
PPTX
Data Mesh using Microsoft Fabric
Nathan Bijnens
 
PPTX
Data Mesh in Azure using Cloud Scale Analytics (WAF)
Nathan Bijnens
 
PPTX
Dataminds - ML in Production
Nathan Bijnens
 
PPTX
Azure Databricks & Spark @ Techorama 2018
Nathan Bijnens
 
PPTX
Big Data Expo '18 - Microsoft AI
Nathan Bijnens
 
PPTX
Spark on Azure, a gentle introduction (nov 2015)
Nathan Bijnens
 
PPTX
Cloudera, Azure and Big Data at Cloudera Meetup '17
Nathan Bijnens
 
PPTX
Microsoft AI at SAI '17
Nathan Bijnens
 
PPTX
Microsoft Advanced Analytics @ Data Science Ghent '16
Nathan Bijnens
 
PDF
A real-time architecture using Hadoop and Storm @ BigData.be
Nathan Bijnens
 
AI Revolution unleashed with AI Foundry at AI Tour Brussels
Nathan Bijnens
 
AI Agents, such as Autogen at Tide Sprint
Nathan Bijnens
 
Large Language Models vs Small Language Models
Nathan Bijnens
 
Data Mesh using Microsoft Fabric
Nathan Bijnens
 
Data Mesh in Azure using Cloud Scale Analytics (WAF)
Nathan Bijnens
 
Dataminds - ML in Production
Nathan Bijnens
 
Azure Databricks & Spark @ Techorama 2018
Nathan Bijnens
 
Big Data Expo '18 - Microsoft AI
Nathan Bijnens
 
Spark on Azure, a gentle introduction (nov 2015)
Nathan Bijnens
 
Cloudera, Azure and Big Data at Cloudera Meetup '17
Nathan Bijnens
 
Microsoft AI at SAI '17
Nathan Bijnens
 
Microsoft Advanced Analytics @ Data Science Ghent '16
Nathan Bijnens
 
A real-time architecture using Hadoop and Storm @ BigData.be
Nathan Bijnens
 

Recently uploaded (20)

PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
The Future of Artificial Intelligence (AI)
Mukul
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 

Microsoft Big Data @ SQLUG 2013

  • 1. BIG DATA Wesley Backelant Technology Advisor Microsoft @WesleyBackelant Nathan Bijnens Big Data Consultant DataCrunchers @nathan_gs
  • 2. AGENDA • Big Data • Hadoop (& Ecosystem) • How does it fit in the Microsoft world? • Demo • Resources • Q&A
  • 3. THE WORLD OF DATA IS CHANGING
  • 4. TODAY A NEW SET OF QUESTIONS ARE BEING ASKED OF THE BUSINESS: What’s the social How do I better sentiment for my predict future brand or products outcomes? How do I optimize my fleet based on weather and traffic patterns?
  • 5. TRANSFORMATION OF ONLINE MARKETING BLOGS.FORBES.COM/DAVEFEINLEIB
  • 6. TRANSFORMATION OF OPERATIONS BLOGS.FORBES.COM/DAVEFEINLEIB
  • 7. TRANSFORMATION OF CUSTOMER SERVICE BLOGS.FORBES.COM/DAVEFEINLEIB
  • 9. TRANSFORMATION OF FRAUD DETECTION Then… Now…
  • 10. NEW HARDWARE APPROACH Traditional Big Data Exotic HW Commodity HW • Big central servers • racks of pizza boxes • SAN • Ethernet • RAID • JBOD Hardware reliability Unreliable HW Limited scalability Scales further Cost effective
  • 11. NEW SOFTWARE APPROACH Traditional Big Data Monolotic Distributed • Centralized - storage & compute nodes • RDBMS Raw data Schema first Proprietary
  • 12. HADOOP & BIG DATA ECOSYSTEM MapReduce HDFS
  • 14. HDFS
  • 15. HDFS
  • 20. HIVE
  • 21. HIVE A data warehouse infrastructure built on top of Hadoop for providing data summarization, query, and analysis. – Ideal for ad hoc querying – Query execution via MapReduce. Key Building Principles: – SQL – Extensibility – Types – Functions – Scripts
  • 22. HIVE It supports many SQL features like: – Data partitioning – Aggregations – Grouping – Joins
  • 23. HIVE And it’s extendable using UDFs. package com.example.hive.udf; import org.apache.hadoop.hive.ql.exec.UDF; import org.apache.hadoop.io.Text; public final class Lower extends UDF { public Text evaluate(final Text s) { if (s == null) { return null; } return new Text(s.toString().toLowerCase()); } } There are many UDFs published by external parties, for: - Loading / Saving (SerDe) - Field Transformations
  • 25. HADOOP PIG: INTRO Pig is a high level data flow language.
  • 26. HADOOP PIG: 3 COMPONENTS • Pig Latin • Grunt • PigServer
  • 27. HADOOP PIG data = LOAD 'employee.csv' USING PigStorage() AS ( first_name:chararray, last_name:chararray, age:int, wage:float, department:chararray );
  • 28. HADOOP PIG grouped_by_department = GROUP data BY department; total_wage_by_department = FOREACH grouped_by_department GENERATE group AS department, COUNT(data) as employee_count, SUM(data::wage) AS total_wage; total_ordered = ORDER total_wage_by_department BY total_wage; total_limited = LIMIT total_ordered 10;
  • 29. HADOOP PIG DUMP total_limited; STORE total_limited INTO ‘/test/’;
  • 30. UDF ● Custom Load and Store classes. ● Hbase ● ProtocolBuffers ● CombinedLog ● Custom extraction eg. date, ... ● Take a look at the PiggyBank.
  • 32. HBASE A distributed, versioned, column-oriented database. • Main features: • Horizontal scalability • Machine failure tolerance • Row-level atomic operations including compare-and-swap ops like incrementing counters • Augmented key-value schemas, the user can group columns into families which are configured independently • Multiple clients like its native Java library, Thrift, and REST • Upcoming Security
  • 34. STORM
  • 35. STORM
  • 36. STORM • Message passing. • Distributed processing. • Horizontally scalable. • Incremental algorithms. • Fast. • Data in motion.
  • 37. STORM Nimbus Zookeeper Supervisor Supervisor Supervisor Worker Worker Worker Worker Worker Worker Worker Worker Worker Worker Node Worker Node Worker Node
  • 42. DATA IS MORE THAN INFORMATION Not all information is equal. Some information is derived from other pieces of information.
  • 43. DATA IS MORE THAN INFORMATION Eventually you will reach the most ‘raw’ form of information. This is the information you hold true, simple because it exists. Let’s call this ‘data’, very similar to ‘event’.
  • 44. EVENTS Everything we do generates events: • Pay with Credit Card • Commit to Git • Click on a webpage • Tweet
  • 45. EVENTS - BEFORE Events used to manipulate the master data.
  • 46. EVENTS - AFTER Today, events are the master data.
  • 47. DATA SYSTEM Let’s store everything.
  • 48. EVENTS Data is Immutable
  • 49. EVENTS Data is Time Based
  • 50. CAPTURING CHANGE TRADITIONALLY Person Location Person Location Nathan Antwerp Nathan Ghent Geert Dendermonde Geert Dendermonde John Ghent John Ghent
  • 51. CAPTURING CHANGE Person Location Timestamp Person Location Time Nathan Antwerp 2005-01-01 Nathan Antwerp 2005-01-01 Geert Dendermonde 2011-10-08 Geert Dendermonde 2011-10-08 John Ghent 2010-05-02 John Ghent 2010-05-02 Nathan Ghent 2013-02-03
  • 52. QUERY The data you query is often transformed, aggregated, ... Rarely used in it’s original form.
  • 53. QUERY Query = function ( data )
  • 54. NUMBER OF PEOPLE LIVING IN EACH CITY. Person Location Time Location Count Nathan Antwerp 2005-01-01 Ghent 2 Dendermonde 1 Geert Dendermonde 2011-10-08 John Ghent 2010-05-02 Nathan Ghent 2013-02-03
  • 55. QUERY All Data Query
  • 56. QUERY: PRECOMPUTE All Data Precomputed View Query
  • 57. LAYERED ARCHITECTURE Batch Layer Speed Layer Serving Layer
  • 58. LAYERED ARCHITECTURE SQL Query Incoming Data HD Insight Column Store
  • 60. BATCH LAYER Incoming Data HD Insight Column Store
  • 61. BATCH LAYER Unrestrained computation.
  • 62. BATCH LAYER Horizontal scalable.
  • 63. BATCH LAYER High Latency. Let’s pretend temporarily that update latency doesn’t matter.
  • 64. BATCH LAYER Stores master copy of data set... append only.
  • 66. BATCH: VIEW GENERATION View #1 Master Dataset View #2 MapReduce View #3
  • 67. MAPREDUCE 1. Take a large problem and divide it into sub-problems … MAP 2. Perform the same function on all sub-problems … DoWork() DoWork() DoWork() 3. Combine the output from all sub-problems REDUCE … Output
  • 68. BATCH VIEW DATABASE Read only database. No random writes required.
  • 69. BATCH LAYER We are not done yet… Just a few hours of data. Not yet Data absorbed into Batch Views absorbed. Time Now
  • 71. OVERVIEW SQL Incoming Data HD Insight Column Store
  • 72. SPEED LAYER Stream processing.
  • 73. SPEED LAYER Continuous computation.
  • 74. SPEED LAYER Transactional.
  • 75. SPEED LAYER Storing a limited window of data. Compensating for the last few hours of data.
  • 76. SPEED LAYER All the complexity is isolated in the Speed layer. If anything goes wrong, it’s auto-corrected.
  • 77. CAP You have a choice between: • Availability • Queries are eventual consistent. • Consistency • Queries are consistent.
  • 78. EVENTUAL ACCURACY Some algorithms are hard to implement in real time. For those cases we could estimate the results.
  • 79. SPEED LAYER Real Time View 1 Incoming Data Real Time View 2
  • 80. SPEED LAYER VIEWS • The views are stored in Read & Write database. • MS SQL Server • Column Store • Cassandra • … • Much more complex than a read only view.
  • 82. OVERVIEW SQL Query Incoming Data HD Insight Column Store
  • 83. SERVING LAYER This layer queries the Batch & Real Time views and merges it.
  • 84. SERVING LAYER Batch Views Merge Real Time Views
  • 85. SERVING LAYER Polybase is a great fit.
  • 87. OVERVIEW SQL Query Incoming Data HD Insight Column Store
  • 88. LAMBDA ARCHITECTURE • Can discard any view, batch and real time, and just recreate everything from the master data. • Mistakes are corrected via recomputation. • Write bad data? Remove the data & recompute. • Bug in view generation? Just recompute the view. • Data storage is highly optimized.
  • 90. WHAT IS MICROSOFT DOING ON THE BI & DEVELOPMENT SIDE
  • 91. INSIGHTS FROM ANY DATA, ANY SIZE, ANYWHERE 010101010101010101 1010101010101010 01010101010101 101010101010
  • 92. WE DELIVER INSIGHTS TO EVERYONE BY ENABLING BIG DATA ANALYSIS WITH FAMILIAR END USER TOOLS Benefits Interaction and analysis of unstructured data in Hadoop Key Features Hive add-in for Excel
  • 93. UNLOCKING IMMERSIVE INSIGHTS FROM ALL DATA WITH MICROSOFT BI TOOLS Benefits Familiar self service BI tools Key Features Hive ODBC Driver integrates Hadoop to SQL Server Analysis Services, PowerPivot, and Power View
  • 94. WHILE DRAMATICALLY SIMPLIFYING PROGRAMMING ON HADOOP MapReduce programs Benefits in JavaScript Simplified Simplified Deployment of Programming MapReduce jobs Key Features JS Deploy JavaScript Hadoop Integration with .NET and jobs from a simple web new JavaScript libraries for browser on any supported Hadoop device
  • 95. WE MANAGE STREAMING DATA WITH STREAMINSIGHT Benefits Key Features StreamInsight SQL StreamInsight
  • 96. WHAT IS MICROSOFT DOING ON THE HADOOP & INTEGRATION SIDE?
  • 97. WE MANAGE RELATIONAL DATA WITH MICROSOFT ENTERPRISE DATA WAREHOUSE SOLUTIONS Reference Architectures Appliances Dell Parallel HP Enterprise Data Data Fast Track for Warehouse Warehouse Dell HP Business Quickstart Data Data Warehouse Warehouse
  • 98. INTRODUCING POLYBASE Fundamental Breakthrough in Data Processing Single Query; Structured and Unstructured SQL • Query and join Hadoop tables with Relational Tables SQL Server 2012 • Use Standard SQL language PDW Powered • Select, From Where by PolyBase Existing SQL No IT Save Time Analyze All Skillset Intervention and Costs Data Types
  • 99. AND SUPPORT UNSTRUCTURED DATA WITH ENTERPRISE CLASS HADOOP ON PREMISE AND IN THE CLOUD Benefits Key Features
  • 100. MICROSOFT BRINGS THE SIMPLICITY AND MANAGEABILITY OF WINDOWS AND SQL SERVER TO HADOOP Benefits Key Features
  • 101. MICROSOFT DELIVERS BIG DATA THROUGH OPEN PLATFORM AND A RICH PARTNER ECOSYSTEM Benefits Key Features
  • 102. BIG DATA DEMO: FROM DATA TO INSIGHTS! Analysis with familiar Collaboration on Simplicity tools insights
  • 104. RESOURCES • Microsoft Big Data Solution: www.microsoft.com/bigdata • Windows Azure: www.windowsazure.com/en-us/home/scenarios/big-data • Try Now: https://www.hadooponazure.com • HDInsight For Windows Beta Download: http://hortonworks.com/download/ • HDInsight Services For Windows: http://social.technet.microsoft.com/wiki/contents/articles/6204.hdinsight-services-for- windows.aspx#videos • Hadoop in PowerPivot: http://social.technet.microsoft.com/wiki/contents/articles/6294.how-to- connect-excel-powerpivot-to-hive-on-azure-via-hiveodbc.aspx • Hadoop in SSIS: http://msdn.microsoft.com/en-us/library/jj720569.aspx • Hurricane Sandy: http://sqlcat.com/sqlcat/b/msdnmirror/archive/2013/02/01/hurricane-sandy- mash-up-hive-sql-server-powerpivot-amp-power-view.aspx • Hadoop PowerShell: http://blogs.msdn.com/b/cindygross/archive/2012/08/23/how-to-install-the- powershell-cmdlets-for-apache-hadoop-based-services-for-windows.aspx • SQL Server BCP to Hive: http://blogs.msdn.com/b/cindygross/archive/2012/09/28/load-sql-server- bcp-data-to-hive.aspx • Internal vs External Table Hive: http://blogs.msdn.com/b/cindygross/archive/2013/02/06/hdinsight- hive-internal-and-external-tables-intro.aspx • Microsoft.NET SDK for Hadoop: http://hadoopsdk.codeplex.com/ • Twitter Analytics Example: http://twitterbigdata.codeplex.com/
  • 105. DATACRUNCHERS We enable companies in envisioning, defining and implementing a data strategy. A one-stop-shop for all your Big Data needs. The first Big Data Consultancy agency in Belgium.