Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
V.Hariharaputhran
o Fourteen years in Oracle Development / DBA / Big Data / Cloud Technologies
o All India Oracle Users Group (AIOUG) Evangelist
o Passion to learn and share
o Blog: www.puthranv.com
Harish P
o Eight Plus years in Oracle DBA
o Big Data / Cloud Technologies/ RAC
Specialist
o All India Oracle Users Group (AIOUG)
Evangelist
o Passion to learn and share
Agenda
Big Data Introduction
Hadoop Components
Hbase Overview
Hbase in Hadoop
Why Hbase
Hbase Architecture
Hbase Read and Write
Data Data DataLots of Data
Twitter
Facebook
Google keeps track of you
World Population
Banking/Telecom/Energyevery industry contribute
No Data Archiving Logic
Iam always online
5
Internet of People to Internet of Things
Devices TALK to each other as they become SMART & generate DATA
QUALITY & MONITOR POLLUTION
SMART SHOPPING MAINTAIN & REPAIR
CONSISTENCY LEVELS
6
Hadoop Components
7
Hadoop Components
8
HDFS - Daemon / Background Process
NN SNN
Name Node (NN)
DN4
Secondary
Name Node(SNN)
Data Node(DN)
9
DN1 DN2 DN3
MapReduce - Daemon / Background Process
Task Tracker
10
DN1 DN2 DN3
Hbase Daemon / Background Process
Region Server
11
RS1 RS2 RS3
SQL vs NoSQL
12
No SQL Databases
NO SQL
13
Hbase Keys & Column Families
14
Hbase Overview
15
Hbase is
16
Hbase is not..
A relational database
No SQL query language
No joins
No secondary indexing
No transactions
17
When to use Hbase
Data volume
Application Types
Hardware environment
18
Hbase Features
Scalability
Sharding
Distributed storage
Failover support
API support
MapReduce support
Back up support
19
Hbase Vs RDBMs
20
Hbase Shell
bin/hbase shell
Create table
create mytable , cf1
List tables
list
Describe table
describe mytable
21
Hbase Shell Cont
Put a row
put mytable , row1, cf1:cq1 , val1
Get a row
get mytable , row1
Put more
put mytable , row2 , cf1:cq1 , val2
put mytable , row1 , cf1:cq2 , val3
Get a row
get mytable , row1
Scan table
scan mytable
22
Demo
23
Hbase Column Families Cont
24
Hbase Read and Write
25
Hbase Catalog Tables
27
Hbase Region and Region Servers
Table - TBL
Region Server - RS1210
a
b Table TBL,Region 1
Region1 c
d Table TBL,Region 2
e
f Region Server - RS 1230
Region2 g
h Table TBL,Region 3
i Table T, Region 240
j
Region3 k
Region Server - RS1260
l
m Table TBL,Region 4
n
Region4 o Table A,Region 500
p
28
Hbase Region
A table can be divided horizontally into one or more regions. A region
contains a contiguous, sorted range of rows between a start key and an end
key
Each region is 1GB in size
A region of a table is served to the client by a RegionServer
29
Hbase Client Locate Data
30
META Hbase Client Read / Locate Data META
Cache DATA
Client Zookeper
META Location
Region Region
Server Server
DATA NODE DATA NODE
31
Where does your data Reside ?
32
Hbase Region Server Components
33
Hbase Write
34
Hbase Write
Client HMaster
WAL
HFile
35
Region Server 102
How Data is Stored in Hfile
36
Demo
37
Hbase Delete
38
39
40