SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Prepared By:
Mudita Tandon
Mrunal Mhetras
Aishwarya Kashid
Naga Ritwik Indugu
 There are some things that are so big that
they have implications for everyone,
whether we want it or not.
 Big Data is one of those things, and is
completely transforming the way we do
business and is impacting most other
parts of our lives.
From the dawn of civilization until
2003, humankind generated five
exabytes of data. Now we produce
five exabytes every two days…and
the pace is accelerating
Eric Schmidt,
Executive Chairman, Google
 Activity Data
 Conversation Data
 Photo and Video Image Data
 Sensor Data
 The Internet of Things Data
 Simple activities like listening to music or
reading a book are now generating data.
Digital music players and eBooks collect data
on our activities. Your smart phone collects
data on how you use it and your web
browser collects information on what you are
searching for. Your credit card company
collects data on where you shop and your
shop collects data on what you buy. It is hard
to imagine any activity that does not
generate data.
 Our conversations are now digitally recorded.
It all started with emails but nowadays most
of our conversations leave a digital trail. Just
think of all the conversations we have on
social media sites like Facebook orTwitter.
Even many of our phone conversations are
now digitally recorded.
 Just think about all the pictures we take on
our smart phones or digital cameras.We
upload and share 100s of thousands of them
on social media sites every second.The
increasing amounts of CCTV cameras take
video images and we up-load hundreds of
hours of video images toYouTube and other
sites every minute .
 We are increasingly surrounded by sensors
that collect and share data.Take your smart
phone, it contains a global positioning sensor
to track exactly where you are every second
of the day, it includes an accelerometer to
track the speed and direction at which you
are travelling.We now have sensors in many
devices and products.
 We now have smartTVs that are able to
collect and process data, we have smart
watches, smart fridges, and smart alarms.
The Internet ofThings, or Internet of
Everything connects these devices so that
e.g. the traffic sensors on the road send data
to your alarm clock which will wake you up
earlier than planned because the blocked
road means you have to leave earlier to make
your 9a.m meeting…
• Volume
• Velocity
• Variety
• Veracity
 …refers to the vast amounts of data
generated every second.We are not talking
Terabytes but Zettabytes or Brontobytes. If
we take all the data generated in the world
between the beginning of time and 2008, the
same amount of data will soon be generated
every minute. New big data tools use
distributed systems so that we can store and
analyse data across databases that are dotted
around anywhere in the world.
 …refers to the speed at which new data is
generated and the speed at which data
moves around. Just think of social media
messages going viral in seconds.Technology
allows us now to analyse the data while it is
being generated (sometimes referred to as
in-memory analytics), without ever putting it
into databases.
 …refers to the different types of data we can
now use. In the past we only focused on
structured data that neatly fitted into tables or
relational databases, such as financial data. In
fact, 80% of the world’s data is unstructured
(text, images, video, voice, etc.)With big data
technology we can now analyse and bring
together data of different types such as
messages, social media conversations, photos,
sensor data, video or voice recordings.
 …refers to the messiness or trustworthiness
of the data.With many forms of big data
quality and accuracy are less controllable
(just think ofTwitter posts with hash tags,
abbreviations, typos and colloquial speech as
well as the reliability and accuracy of content)
but technology now allows us to work with
this type of data.
 LOGISTICAPPROACH OF BIG DATA FOR
CATEGORIZINGTECHNICAL SUPPORT
REQUESTS USING HADOOP AND MAHOUT
COMPONENTS.
 Social Media
 Machine Log
 Call Center Logs
 Email
 Financial Services transactions.
 R-PROGRAMMING.
 HDFS(Map-Reduce).
 MAHOUT(Clustering algo).
 H-BASE.
 HIVE.
 JAVA/C.
 Revolution has created a series of
“RevoConnectRs for Hadoop” that will allow an
R programmer to manipulate Hadoop data
stores directly from HDFS and HBASE, and give
R programmers the ability to write MapReduce
jobs in R using Hadoop Streaming. RevoHDFS
provides connectivity from R to HDFS and
RevoHBase provides connectivity from R to
HBase. Additionally, RevoHStream allows
MapReduce jobs to be developed in R and
executed as Hadoop Streaming jobs.
 HDFS can be presented as a master/slave
architecture.Namenode is treated as master and
datanode the slave.Namenode is the server that
manages the filesystem namespace and adjust
the access to files by the client.It divides the
input data into blocks and announces which data
block will be stored in which datanode.Datanode
is the slave machine that stores the replicas of
the partition datasets and serves the data as the
request comes.It also performs block creation
and deletion
 HDFS is managed with the master/slave
architecture included with the following
components:-
 NAMENODE:-This is the master of the HDFS
system. It maintains the metadata and manages
the blogs that are present on datanodes.
 DATANODE:-These are slaves that are deployed
on each machine and provide actual
storage.They are responsible for serving read
and write data request for the clients
 Map-reduce is a programming model for
processing and generating large datasets
.Users specify a map function that processes
a key value pair to generate a set of
intermediate key value pairs .
map(key1,value) -> list<key2,value2>
 The reduce function that merges all
intermediate values associated with the same
intermediate key.
reduce(key2, list<value2>) -> list<value3>
 The important innovation of map-reduce is the
ability to take a query over a dataset,divide it
,and run it in parallel over multiple nodes.
Distributing the computation solves the issue of
data too large to fit
onto a single machine. Combine this technique
with commodity Linux
servers and you have a cost-effective alternative
to massive computing
arrays.The advantage of map-reduce model is its
simplicity because only Map() and Reduce() to
be written by user.
 Every organization’s data are diverse and particular to
their needs. However, there is much less diversity in the
kinds of analyses performed on that data.The Mahout
project is a library of Hadoop implementations of
common analytical computations. Use cases include user
collaborative filtering,user recommendations, clustering
and classification.
 Mahout is an open source machine learning library built on
top of Hadoop to provide distributed analytics capabilities.
Mahout incorporates a wide range of data mining
techniques including collaborative filtering, classification
and clustering algorithms.
 Mahout supports a wide variety of clustering
algorithms including: -
 k-means
 Canopy clustering
 Fuzzy k-means
 DirichletClustering
 Latent DirichletAllocation.
 Clustering is the process of partitioning a group of data points into
a small number of clusters. For instance, the items in a
supermarket are clustered in categories (butter, cheese and milk
are grouped in dairy products). Of course this is a qualitative kind
of partitioning. A quantitative approach would be to measure
certain features of the products, say percentage of milk and
others, and products with high percentage of milk would be
grouped together. In general, we have n data points xi,i=1...nthat
have to be partitioned in k clusters.The goal is to assign a cluster
to each data point. K-means is a clustering method that aims to
find the positions ci,i=1...k of the clusters that minimize
the distance from the data points to the cluster. K-means
clustering solves
 There are several layers that sit on top of HDFS that
also provide additional capabilities and make working
with HDFS easier. One such implementation is
HBASE, Hadoop’s answer to providing database like
table structures.
Just like being able to work with HDFS from inside R,
access to HBASE helps open up the Hadoop
framework to the R programmer. Although R may not
be able to load a billion row-by-million-
column table, working with smaller subsets to
perform adhoc analysis can help lead to solutions that
work with the entire data set.
 The H-Base data structure is based on LSMTrees.
The Log-Structured MergeTree:
 The Log-Structured Merge-Tree (or LSM tree) is
a data structure with performance characteristics
that make it attractive for
providing indexed access to files with high insert
volume, such as transactional log data.
 LSM trees, like other search trees, maintain key-value
pairs. LSM trees maintain data in two or more separate
structures, each of which is optimized for its respective
underlying storage medium.
 All puts (insertions) are
appended to a write ahead
log (can be done fast on
HDFS, can be used to
restore the database in
case anything goes wrong)
 An in memory data
structure (MemStore)
stores the most
recent puts (fast and
ordered)
 From time to time
MemStore is flushed to
disk.
 This results in a many small
files on HDFS.
 HDFS better works with few
large files instead of many
small ones.
 A get or scan potentially has
to look into all small files. So
fast random reads are not
possible as described so far.
 That is why H-Base
constantly checks if it is
necessary to combine several
small files into one larger one
 This process is called
compaction
 There are two different kinds of compactions.
 Minor Compactions merge few small ordered
files into one larger ordered one without
touching the data.
 Major Compactions merge all files into one
file. During this process outdated or deleted
values are removed.
 Bloom Filters (stored in the Metadata of the
files on HDFS) can be used for a fast exclusion
of files when looking for a specific key.
 Every entry in a Table is indexed
by a RowKey
 For every RowKey an unlimited
number of attributes can be
stored in Columns
 There is no strict schema with
respect to the Columns.
New Columns can be added
during runtime
 H-Base Tables are sparse.A
missing value doesn’t need any
space
 Different versions can be stored
for every attribute. Each with a
different Timestamp.
 Once a value is written to H-
Base it cannot be changed.
Instead another version with a
more recent Timestamp can be
added.
 To delete a value from H-Base
a Tombstone value has to be
added.
 The Columns are grouped
into ColumnFamilies.The Colum
nFamilies have to be defined at
table creation time and can’t be
changed afterwards.
 H-Base is a distributed system. It
is guaranteed that
all values belonging to the
same RowKey and
ColumnFamily are stored
together.
 Alternatively HBase can also be seen as a sparse,
multidimensional, sorted map with the following
structure:
 (Table, RowKey, ColumnFamily, Column, Time
stamp) → Value
 Or in an object oriented way:
 Table ← SortedMap<RowKey, Row>
 Row ← List<ColumnFamily>
 ColumnFamily ← SortedMap<Column,
List<Entry>>
 Entry ←Tuple<Timestamp,Value>
HBase supports the following operations:
 Get: Returns the values for a given RowKey. Filters can
be used to restrict the results to specific
ColumnFamilies, Columns or versions.
 Put: Adds a new entry.TheTimestamp can be set
automatically or manually.
 Scan: Returns the values for a range of
RowKeys. Scans are very efficient in HBase. Filters can
also be used to narrow down the results. HBase 0.98.0
(which was released last week) also allows
backward scans.
 Delete: Adds aTombstone marker.
 HBase is a distributed database
 The data is partitioned based on the
RowKeys into Regions.
 Each Region contains a range of
RowKeys based on their binary
order.
 A RegionServer can contain several
Regions.
 All Regions contained in a
RegionServer share one write ahead
log (WAL).
 Regions are automatically split if
they become too large.
 Every Region creates a Log-
Structured MergeTree for every
ColumnFamily.That’s why fine
tuning like compression can be done
on ColumnFamily level.This should
be considered when defining the
ColumnFamilies.
 HBase uses ZooKeeper to manage all
required services.
 The assignment of Regions to
RegionServers and the splitting of Regions
is managed by a separate service, the
HMaster
 The ROOT and the META table are two
special kinds of HBase tables which are
used for efficiently identifying which
RegionServer is responsible for a specific
RowKey in case of a read or write request.
 When performing a get or scan, the client
asks ZooKeeper where to find the ROOT
Table.Then the client asks the ROOTTable
for the correct METATable. Finally it can
ask the METATable for the correct
RegionServer.
 The client stores information about ROOT
and METATables to speed up future
lookups.
 Using these three layers is efficient for a
practically unlimited number of
RegionServers.
Does HBase fulfill all “new” requirements?
 Volume: By adding new servers to the cluster
HBase scales horizontally to an arbitrary amount
of data.
 Variety:The sparse and flexible table structure is
optimal for multi-structured data. Only the
ColumnFamilies have to be predefined.
 Velocity: HBase scales horizontally to read or
write requests of arbitrary speed by adding new
servers.The key to this is the LSM-Tree
Structure.

Weitere ähnliche Inhalte

Was ist angesagt?

Hadoop and big data
Hadoop and big dataHadoop and big data
Hadoop and big dataYukti Kaura
 
The Big Data Stack
The Big Data StackThe Big Data Stack
The Big Data StackZubair Nabi
 
Big Data Unit 4 - Hadoop
Big Data Unit 4 - HadoopBig Data Unit 4 - Hadoop
Big Data Unit 4 - HadoopRojaT4
 
Intro to Big Data Hadoop
Intro to Big Data HadoopIntro to Big Data Hadoop
Intro to Big Data HadoopApache Apex
 
Unit 2 - Data Manipulation with R.pptx
Unit 2 - Data Manipulation with R.pptxUnit 2 - Data Manipulation with R.pptx
Unit 2 - Data Manipulation with R.pptxMalla Reddy University
 
Big Data Real Time Applications
Big Data Real Time ApplicationsBig Data Real Time Applications
Big Data Real Time ApplicationsDataWorks Summit
 
Big data technology unit 3
Big data technology unit 3Big data technology unit 3
Big data technology unit 3RojaT4
 
Survey Paper on Big Data and Hadoop
Survey Paper on Big Data and HadoopSurvey Paper on Big Data and Hadoop
Survey Paper on Big Data and HadoopIRJET Journal
 
Hadoop for beginners free course ppt
Hadoop for beginners   free course pptHadoop for beginners   free course ppt
Hadoop for beginners free course pptNjain85
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with HadoopPhilippe Julio
 
Big Data Analysis Patterns with Hadoop, Mahout and Solr
Big Data Analysis Patterns with Hadoop, Mahout and SolrBig Data Analysis Patterns with Hadoop, Mahout and Solr
Big Data Analysis Patterns with Hadoop, Mahout and Solrboorad
 
BigData Analytics with Hadoop and BIRT
BigData Analytics with Hadoop and BIRTBigData Analytics with Hadoop and BIRT
BigData Analytics with Hadoop and BIRTAmrit Chhetri
 
Big Data Analytics for Non-Programmers
Big Data Analytics for Non-ProgrammersBig Data Analytics for Non-Programmers
Big Data Analytics for Non-ProgrammersEdureka!
 
Hadoop,Big Data Analytics and More
Hadoop,Big Data Analytics and MoreHadoop,Big Data Analytics and More
Hadoop,Big Data Analytics and MoreTrendwise Analytics
 

Was ist angesagt? (20)

Big data ppt
Big data pptBig data ppt
Big data ppt
 
Hadoop and big data
Hadoop and big dataHadoop and big data
Hadoop and big data
 
The Big Data Stack
The Big Data StackThe Big Data Stack
The Big Data Stack
 
Big Data Unit 4 - Hadoop
Big Data Unit 4 - HadoopBig Data Unit 4 - Hadoop
Big Data Unit 4 - Hadoop
 
Big data ppt
Big data pptBig data ppt
Big data ppt
 
Intro to Big Data Hadoop
Intro to Big Data HadoopIntro to Big Data Hadoop
Intro to Big Data Hadoop
 
Unit 2 - Data Manipulation with R.pptx
Unit 2 - Data Manipulation with R.pptxUnit 2 - Data Manipulation with R.pptx
Unit 2 - Data Manipulation with R.pptx
 
A data analyst view of Bigdata
A data analyst view of Bigdata A data analyst view of Bigdata
A data analyst view of Bigdata
 
Big Data Real Time Applications
Big Data Real Time ApplicationsBig Data Real Time Applications
Big Data Real Time Applications
 
paper
paperpaper
paper
 
Big data technology unit 3
Big data technology unit 3Big data technology unit 3
Big data technology unit 3
 
Survey Paper on Big Data and Hadoop
Survey Paper on Big Data and HadoopSurvey Paper on Big Data and Hadoop
Survey Paper on Big Data and Hadoop
 
Hadoop for beginners free course ppt
Hadoop for beginners   free course pptHadoop for beginners   free course ppt
Hadoop for beginners free course ppt
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
 
Big Data Analysis Patterns with Hadoop, Mahout and Solr
Big Data Analysis Patterns with Hadoop, Mahout and SolrBig Data Analysis Patterns with Hadoop, Mahout and Solr
Big Data Analysis Patterns with Hadoop, Mahout and Solr
 
BigData Analytics with Hadoop and BIRT
BigData Analytics with Hadoop and BIRTBigData Analytics with Hadoop and BIRT
BigData Analytics with Hadoop and BIRT
 
Big Data Analytics for Non-Programmers
Big Data Analytics for Non-ProgrammersBig Data Analytics for Non-Programmers
Big Data Analytics for Non-Programmers
 
Big data analytics - hadoop
Big data analytics - hadoopBig data analytics - hadoop
Big data analytics - hadoop
 
Big data landscape
Big data landscapeBig data landscape
Big data landscape
 
Hadoop,Big Data Analytics and More
Hadoop,Big Data Analytics and MoreHadoop,Big Data Analytics and More
Hadoop,Big Data Analytics and More
 

Andere mochten auch

How to Install Fonts in Photoshop
How to Install Fonts in PhotoshopHow to Install Fonts in Photoshop
How to Install Fonts in PhotoshopMetrodesk
 
Processing and integrating soil map information from different regions into C...
Processing and integrating soil map information from different regions into C...Processing and integrating soil map information from different regions into C...
Processing and integrating soil map information from different regions into C...FAO
 
Red Eye Removal Photoshop Tutorial
Red Eye Removal Photoshop TutorialRed Eye Removal Photoshop Tutorial
Red Eye Removal Photoshop Tutorialsnshnangel04
 
Image to sketch effect Step by Step Photoshop Tutorial
Image to sketch effect  Step by Step Photoshop Tutorial Image to sketch effect  Step by Step Photoshop Tutorial
Image to sketch effect Step by Step Photoshop Tutorial Web D School
 
Russian Revolution Part 2
Russian Revolution Part 2Russian Revolution Part 2
Russian Revolution Part 2Joseph Fuertsch
 
6th Grade Social Studies Ancient Engineering
6th Grade Social Studies Ancient Engineering 6th Grade Social Studies Ancient Engineering
6th Grade Social Studies Ancient Engineering Aaron Maurer
 
Linked Data for the Enterprise: Opportunities and Challenges
Linked Data for the Enterprise: Opportunities and ChallengesLinked Data for the Enterprise: Opportunities and Challenges
Linked Data for the Enterprise: Opportunities and ChallengesMarin Dimitrov
 
Photoshop tutorial
Photoshop tutorialPhotoshop tutorial
Photoshop tutorialMahidi Hasan
 
Internet-enabled GIS for Planners
Internet-enabled GIS for PlannersInternet-enabled GIS for Planners
Internet-enabled GIS for PlannersJohn Reiser
 
Vietnam johnson takes over
Vietnam  johnson takes overVietnam  johnson takes over
Vietnam johnson takes overJoseph Fuertsch
 
What history interest_me_ii_history_of_weapon
What history interest_me_ii_history_of_weaponWhat history interest_me_ii_history_of_weapon
What history interest_me_ii_history_of_weaponJonnyC08
 
Russian Revolution Part 1
Russian Revolution Part 1Russian Revolution Part 1
Russian Revolution Part 1Joseph Fuertsch
 
How to Intensify Images in Photoshop
How to Intensify Images in PhotoshopHow to Intensify Images in Photoshop
How to Intensify Images in PhotoshopMetrodesk
 
Building a semantic-based decision support system to optimize the energy use ...
Building a semantic-based decision support system to optimize the energy use ...Building a semantic-based decision support system to optimize the energy use ...
Building a semantic-based decision support system to optimize the energy use ...Gonçal Costa Jutglar
 

Andere mochten auch (20)

Hadoop Map Reduce Arch
Hadoop Map Reduce ArchHadoop Map Reduce Arch
Hadoop Map Reduce Arch
 
Parallel-kmeans
Parallel-kmeansParallel-kmeans
Parallel-kmeans
 
Hadoop Map Reduce
Hadoop Map ReduceHadoop Map Reduce
Hadoop Map Reduce
 
The Great War
The Great WarThe Great War
The Great War
 
How to Install Fonts in Photoshop
How to Install Fonts in PhotoshopHow to Install Fonts in Photoshop
How to Install Fonts in Photoshop
 
Processing and integrating soil map information from different regions into C...
Processing and integrating soil map information from different regions into C...Processing and integrating soil map information from different regions into C...
Processing and integrating soil map information from different regions into C...
 
War in korea
War in koreaWar in korea
War in korea
 
Red Eye Removal Photoshop Tutorial
Red Eye Removal Photoshop TutorialRed Eye Removal Photoshop Tutorial
Red Eye Removal Photoshop Tutorial
 
Image to sketch effect Step by Step Photoshop Tutorial
Image to sketch effect  Step by Step Photoshop Tutorial Image to sketch effect  Step by Step Photoshop Tutorial
Image to sketch effect Step by Step Photoshop Tutorial
 
Russian Revolution Part 2
Russian Revolution Part 2Russian Revolution Part 2
Russian Revolution Part 2
 
6th Grade Social Studies Ancient Engineering
6th Grade Social Studies Ancient Engineering 6th Grade Social Studies Ancient Engineering
6th Grade Social Studies Ancient Engineering
 
Linked Data for the Enterprise: Opportunities and Challenges
Linked Data for the Enterprise: Opportunities and ChallengesLinked Data for the Enterprise: Opportunities and Challenges
Linked Data for the Enterprise: Opportunities and Challenges
 
Photoshop tutorial
Photoshop tutorialPhotoshop tutorial
Photoshop tutorial
 
Week 2 base map
Week 2   base mapWeek 2   base map
Week 2 base map
 
Internet-enabled GIS for Planners
Internet-enabled GIS for PlannersInternet-enabled GIS for Planners
Internet-enabled GIS for Planners
 
Vietnam johnson takes over
Vietnam  johnson takes overVietnam  johnson takes over
Vietnam johnson takes over
 
What history interest_me_ii_history_of_weapon
What history interest_me_ii_history_of_weaponWhat history interest_me_ii_history_of_weapon
What history interest_me_ii_history_of_weapon
 
Russian Revolution Part 1
Russian Revolution Part 1Russian Revolution Part 1
Russian Revolution Part 1
 
How to Intensify Images in Photoshop
How to Intensify Images in PhotoshopHow to Intensify Images in Photoshop
How to Intensify Images in Photoshop
 
Building a semantic-based decision support system to optimize the energy use ...
Building a semantic-based decision support system to optimize the energy use ...Building a semantic-based decision support system to optimize the energy use ...
Building a semantic-based decision support system to optimize the energy use ...
 

Ähnlich wie Big Data Analytics(Intro,Hadoop Map Reduce,Mahout,K-means clustering,H-base)

Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)
Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)
Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)MIT College Of Engineering,Pune
 
Big data and Hadoop overview
Big data and Hadoop overviewBig data and Hadoop overview
Big data and Hadoop overviewNitesh Ghosh
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Hadoop hdfs interview questions
Hadoop hdfs interview questionsHadoop hdfs interview questions
Hadoop hdfs interview questionsKalyan Hadoop
 
The book of elephant tattoo
The book of elephant tattooThe book of elephant tattoo
The book of elephant tattooMohamed Magdy
 
Gerenral insurance Accounts IT and Investment
Gerenral insurance Accounts IT and InvestmentGerenral insurance Accounts IT and Investment
Gerenral insurance Accounts IT and Investmentvijayk23x
 
Big Data
Big DataBig Data
Big DataNGDATA
 
Big Data Serving with Vespa - Jon Bratseth, Distinguished Architect, Oath
Big Data Serving with Vespa - Jon Bratseth, Distinguished Architect, OathBig Data Serving with Vespa - Jon Bratseth, Distinguished Architect, Oath
Big Data Serving with Vespa - Jon Bratseth, Distinguished Architect, OathYahoo Developer Network
 
Big data data lake and beyond
Big data data lake and beyond Big data data lake and beyond
Big data data lake and beyond Rajesh Kumar
 
Big data and hadoop ecosystem essentials for managers
Big data and hadoop ecosystem essentials for managersBig data and hadoop ecosystem essentials for managers
Big data and hadoop ecosystem essentials for managersManjeet Singh Nagi
 

Ähnlich wie Big Data Analytics(Intro,Hadoop Map Reduce,Mahout,K-means clustering,H-base) (20)

Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)
Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)
Big Data Analytics(concepts of hadoop mapreduce,mahout,k-means clustering,hbase)
 
Big data
Big dataBig data
Big data
 
Big data and Hadoop overview
Big data and Hadoop overviewBig data and Hadoop overview
Big data and Hadoop overview
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Hadoop hdfs interview questions
Hadoop hdfs interview questionsHadoop hdfs interview questions
Hadoop hdfs interview questions
 
Big data abstract
Big data abstractBig data abstract
Big data abstract
 
The book of elephant tattoo
The book of elephant tattooThe book of elephant tattoo
The book of elephant tattoo
 
Gerenral insurance Accounts IT and Investment
Gerenral insurance Accounts IT and InvestmentGerenral insurance Accounts IT and Investment
Gerenral insurance Accounts IT and Investment
 
Big data
Big dataBig data
Big data
 
Big data
Big dataBig data
Big data
 
Big Data
Big DataBig Data
Big Data
 
ANALYTICS OF DATA USING HADOOP-A REVIEW
ANALYTICS OF DATA USING HADOOP-A REVIEWANALYTICS OF DATA USING HADOOP-A REVIEW
ANALYTICS OF DATA USING HADOOP-A REVIEW
 
Big Data Serving with Vespa - Jon Bratseth, Distinguished Architect, Oath
Big Data Serving with Vespa - Jon Bratseth, Distinguished Architect, OathBig Data Serving with Vespa - Jon Bratseth, Distinguished Architect, Oath
Big Data Serving with Vespa - Jon Bratseth, Distinguished Architect, Oath
 
Big data
Big dataBig data
Big data
 
Big data Presentation
Big data PresentationBig data Presentation
Big data Presentation
 
A Big Data Concept
A Big Data ConceptA Big Data Concept
A Big Data Concept
 
Big data data lake and beyond
Big data data lake and beyond Big data data lake and beyond
Big data data lake and beyond
 
Big data and hadoop ecosystem essentials for managers
Big data and hadoop ecosystem essentials for managersBig data and hadoop ecosystem essentials for managers
Big data and hadoop ecosystem essentials for managers
 
Big Data
Big DataBig Data
Big Data
 
No sql databases
No sql databasesNo sql databases
No sql databases
 

Kürzlich hochgeladen

BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 

Kürzlich hochgeladen (20)

BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 

Big Data Analytics(Intro,Hadoop Map Reduce,Mahout,K-means clustering,H-base)

  • 1. Prepared By: Mudita Tandon Mrunal Mhetras Aishwarya Kashid Naga Ritwik Indugu
  • 2.  There are some things that are so big that they have implications for everyone, whether we want it or not.  Big Data is one of those things, and is completely transforming the way we do business and is impacting most other parts of our lives.
  • 3.
  • 4. From the dawn of civilization until 2003, humankind generated five exabytes of data. Now we produce five exabytes every two days…and the pace is accelerating Eric Schmidt, Executive Chairman, Google
  • 5.  Activity Data  Conversation Data  Photo and Video Image Data  Sensor Data  The Internet of Things Data
  • 6.  Simple activities like listening to music or reading a book are now generating data. Digital music players and eBooks collect data on our activities. Your smart phone collects data on how you use it and your web browser collects information on what you are searching for. Your credit card company collects data on where you shop and your shop collects data on what you buy. It is hard to imagine any activity that does not generate data.
  • 7.  Our conversations are now digitally recorded. It all started with emails but nowadays most of our conversations leave a digital trail. Just think of all the conversations we have on social media sites like Facebook orTwitter. Even many of our phone conversations are now digitally recorded.
  • 8.  Just think about all the pictures we take on our smart phones or digital cameras.We upload and share 100s of thousands of them on social media sites every second.The increasing amounts of CCTV cameras take video images and we up-load hundreds of hours of video images toYouTube and other sites every minute .
  • 9.  We are increasingly surrounded by sensors that collect and share data.Take your smart phone, it contains a global positioning sensor to track exactly where you are every second of the day, it includes an accelerometer to track the speed and direction at which you are travelling.We now have sensors in many devices and products.
  • 10.  We now have smartTVs that are able to collect and process data, we have smart watches, smart fridges, and smart alarms. The Internet ofThings, or Internet of Everything connects these devices so that e.g. the traffic sensors on the road send data to your alarm clock which will wake you up earlier than planned because the blocked road means you have to leave earlier to make your 9a.m meeting…
  • 11. • Volume • Velocity • Variety • Veracity
  • 12.  …refers to the vast amounts of data generated every second.We are not talking Terabytes but Zettabytes or Brontobytes. If we take all the data generated in the world between the beginning of time and 2008, the same amount of data will soon be generated every minute. New big data tools use distributed systems so that we can store and analyse data across databases that are dotted around anywhere in the world.
  • 13.  …refers to the speed at which new data is generated and the speed at which data moves around. Just think of social media messages going viral in seconds.Technology allows us now to analyse the data while it is being generated (sometimes referred to as in-memory analytics), without ever putting it into databases.
  • 14.  …refers to the different types of data we can now use. In the past we only focused on structured data that neatly fitted into tables or relational databases, such as financial data. In fact, 80% of the world’s data is unstructured (text, images, video, voice, etc.)With big data technology we can now analyse and bring together data of different types such as messages, social media conversations, photos, sensor data, video or voice recordings.
  • 15.  …refers to the messiness or trustworthiness of the data.With many forms of big data quality and accuracy are less controllable (just think ofTwitter posts with hash tags, abbreviations, typos and colloquial speech as well as the reliability and accuracy of content) but technology now allows us to work with this type of data.
  • 16.  LOGISTICAPPROACH OF BIG DATA FOR CATEGORIZINGTECHNICAL SUPPORT REQUESTS USING HADOOP AND MAHOUT COMPONENTS.
  • 17.
  • 18.  Social Media  Machine Log  Call Center Logs  Email  Financial Services transactions.
  • 19.  R-PROGRAMMING.  HDFS(Map-Reduce).  MAHOUT(Clustering algo).  H-BASE.  HIVE.  JAVA/C.
  • 20.  Revolution has created a series of “RevoConnectRs for Hadoop” that will allow an R programmer to manipulate Hadoop data stores directly from HDFS and HBASE, and give R programmers the ability to write MapReduce jobs in R using Hadoop Streaming. RevoHDFS provides connectivity from R to HDFS and RevoHBase provides connectivity from R to HBase. Additionally, RevoHStream allows MapReduce jobs to be developed in R and executed as Hadoop Streaming jobs.
  • 21.
  • 22.  HDFS can be presented as a master/slave architecture.Namenode is treated as master and datanode the slave.Namenode is the server that manages the filesystem namespace and adjust the access to files by the client.It divides the input data into blocks and announces which data block will be stored in which datanode.Datanode is the slave machine that stores the replicas of the partition datasets and serves the data as the request comes.It also performs block creation and deletion
  • 23.  HDFS is managed with the master/slave architecture included with the following components:-  NAMENODE:-This is the master of the HDFS system. It maintains the metadata and manages the blogs that are present on datanodes.  DATANODE:-These are slaves that are deployed on each machine and provide actual storage.They are responsible for serving read and write data request for the clients
  • 24.
  • 25.  Map-reduce is a programming model for processing and generating large datasets .Users specify a map function that processes a key value pair to generate a set of intermediate key value pairs . map(key1,value) -> list<key2,value2>  The reduce function that merges all intermediate values associated with the same intermediate key. reduce(key2, list<value2>) -> list<value3>
  • 26.  The important innovation of map-reduce is the ability to take a query over a dataset,divide it ,and run it in parallel over multiple nodes. Distributing the computation solves the issue of data too large to fit onto a single machine. Combine this technique with commodity Linux servers and you have a cost-effective alternative to massive computing arrays.The advantage of map-reduce model is its simplicity because only Map() and Reduce() to be written by user.
  • 27.  Every organization’s data are diverse and particular to their needs. However, there is much less diversity in the kinds of analyses performed on that data.The Mahout project is a library of Hadoop implementations of common analytical computations. Use cases include user collaborative filtering,user recommendations, clustering and classification.  Mahout is an open source machine learning library built on top of Hadoop to provide distributed analytics capabilities. Mahout incorporates a wide range of data mining techniques including collaborative filtering, classification and clustering algorithms.
  • 28.  Mahout supports a wide variety of clustering algorithms including: -  k-means  Canopy clustering  Fuzzy k-means  DirichletClustering  Latent DirichletAllocation.
  • 29.
  • 30.  Clustering is the process of partitioning a group of data points into a small number of clusters. For instance, the items in a supermarket are clustered in categories (butter, cheese and milk are grouped in dairy products). Of course this is a qualitative kind of partitioning. A quantitative approach would be to measure certain features of the products, say percentage of milk and others, and products with high percentage of milk would be grouped together. In general, we have n data points xi,i=1...nthat have to be partitioned in k clusters.The goal is to assign a cluster to each data point. K-means is a clustering method that aims to find the positions ci,i=1...k of the clusters that minimize the distance from the data points to the cluster. K-means clustering solves
  • 31.
  • 32.  There are several layers that sit on top of HDFS that also provide additional capabilities and make working with HDFS easier. One such implementation is HBASE, Hadoop’s answer to providing database like table structures. Just like being able to work with HDFS from inside R, access to HBASE helps open up the Hadoop framework to the R programmer. Although R may not be able to load a billion row-by-million- column table, working with smaller subsets to perform adhoc analysis can help lead to solutions that work with the entire data set.  The H-Base data structure is based on LSMTrees.
  • 33. The Log-Structured MergeTree:  The Log-Structured Merge-Tree (or LSM tree) is a data structure with performance characteristics that make it attractive for providing indexed access to files with high insert volume, such as transactional log data.  LSM trees, like other search trees, maintain key-value pairs. LSM trees maintain data in two or more separate structures, each of which is optimized for its respective underlying storage medium.
  • 34.  All puts (insertions) are appended to a write ahead log (can be done fast on HDFS, can be used to restore the database in case anything goes wrong)  An in memory data structure (MemStore) stores the most recent puts (fast and ordered)  From time to time MemStore is flushed to disk.
  • 35.  This results in a many small files on HDFS.  HDFS better works with few large files instead of many small ones.  A get or scan potentially has to look into all small files. So fast random reads are not possible as described so far.  That is why H-Base constantly checks if it is necessary to combine several small files into one larger one  This process is called compaction
  • 36.  There are two different kinds of compactions.  Minor Compactions merge few small ordered files into one larger ordered one without touching the data.  Major Compactions merge all files into one file. During this process outdated or deleted values are removed.  Bloom Filters (stored in the Metadata of the files on HDFS) can be used for a fast exclusion of files when looking for a specific key.
  • 37.  Every entry in a Table is indexed by a RowKey  For every RowKey an unlimited number of attributes can be stored in Columns  There is no strict schema with respect to the Columns. New Columns can be added during runtime  H-Base Tables are sparse.A missing value doesn’t need any space  Different versions can be stored for every attribute. Each with a different Timestamp.  Once a value is written to H- Base it cannot be changed. Instead another version with a more recent Timestamp can be added.
  • 38.  To delete a value from H-Base a Tombstone value has to be added.  The Columns are grouped into ColumnFamilies.The Colum nFamilies have to be defined at table creation time and can’t be changed afterwards.  H-Base is a distributed system. It is guaranteed that all values belonging to the same RowKey and ColumnFamily are stored together.
  • 39.  Alternatively HBase can also be seen as a sparse, multidimensional, sorted map with the following structure:  (Table, RowKey, ColumnFamily, Column, Time stamp) → Value  Or in an object oriented way:  Table ← SortedMap<RowKey, Row>  Row ← List<ColumnFamily>  ColumnFamily ← SortedMap<Column, List<Entry>>  Entry ←Tuple<Timestamp,Value>
  • 40. HBase supports the following operations:  Get: Returns the values for a given RowKey. Filters can be used to restrict the results to specific ColumnFamilies, Columns or versions.  Put: Adds a new entry.TheTimestamp can be set automatically or manually.  Scan: Returns the values for a range of RowKeys. Scans are very efficient in HBase. Filters can also be used to narrow down the results. HBase 0.98.0 (which was released last week) also allows backward scans.  Delete: Adds aTombstone marker.
  • 41.  HBase is a distributed database  The data is partitioned based on the RowKeys into Regions.  Each Region contains a range of RowKeys based on their binary order.  A RegionServer can contain several Regions.  All Regions contained in a RegionServer share one write ahead log (WAL).  Regions are automatically split if they become too large.  Every Region creates a Log- Structured MergeTree for every ColumnFamily.That’s why fine tuning like compression can be done on ColumnFamily level.This should be considered when defining the ColumnFamilies.
  • 42.  HBase uses ZooKeeper to manage all required services.  The assignment of Regions to RegionServers and the splitting of Regions is managed by a separate service, the HMaster  The ROOT and the META table are two special kinds of HBase tables which are used for efficiently identifying which RegionServer is responsible for a specific RowKey in case of a read or write request.  When performing a get or scan, the client asks ZooKeeper where to find the ROOT Table.Then the client asks the ROOTTable for the correct METATable. Finally it can ask the METATable for the correct RegionServer.  The client stores information about ROOT and METATables to speed up future lookups.  Using these three layers is efficient for a practically unlimited number of RegionServers.
  • 43. Does HBase fulfill all “new” requirements?  Volume: By adding new servers to the cluster HBase scales horizontally to an arbitrary amount of data.  Variety:The sparse and flexible table structure is optimal for multi-structured data. Only the ColumnFamilies have to be predefined.  Velocity: HBase scales horizontally to read or write requests of arbitrary speed by adding new servers.The key to this is the LSM-Tree Structure.