SlideShare une entreprise Scribd logo
1  sur  48
HBase Backups
Backups in the Enterprise
Jesse Yates Demai Ni
Jing Chen He
Richard Ding
1 HBase Backups - HBaseCon 2014
Overview
• Commonalities
• IBM BigInsights
• Backups at Salesforce.com
• Summary
2 HBase Backups - HBaseCon 2014
Commonalities
• Per-Table Backups
• Stored On HDFS
• Full Backup + Incrementals
• Fast Restore
• Multiple Clusters
• Timestamp file layout
• Manifest Files for additional info
• Merging Backups
3 HBase Backups - HBaseCon 2014
IBM BigInsights
HBase Backups - HBaseCon 20144
Backup Solution - IBM
• Customer Requirements
• Feature Overview
• Technical Design
• User Interface: CLI and Web UI
• Data Structures
• OpenSource through HBASE-7912 HBase Backup/Restore Based on HBase Snapshot
5 HBase Backups - HBaseCon 2014
Customer Requirements
• Backup and Restore
– Critical requirements from enterprise customers
– General solution
– Easy-to-use user interfaces: CLI and Web UI
– Multiple file systems: HDFS and GPFS*
– Multiple MR frameworks: Hadoop and PSMR*
6 HBase Backups - HBaseCon 2014
*GPFS: IBM General Parallel File System
*PSMR: Platform Symphony MapReduce
Feature Overview
• Full Backup based on HBase Snapshot
• Incremental Backup based on HBase transaction logs
• Table-level Incremental Backup
• Point-In-Time Restore
• On-the-fly and Off-line Convert from HLogs to HFiles
• Off-line Merge Backup Images
• Self-contained Backup Image with Manifest File
• Usability features:
– progress, status, and history reports
– purge old Backup Images
7 HBase Backups - HBaseCon 2014
Technical Design - Overview
• Object: Backup Image
• Operations:
– Full Backup
– Incremental Backup
– Convert
– Merge
– Restore
HBase Backups - HBaseCon 20148
Technical Design - Backup Images
Full Backup Table1
(Monday)
Full Backup Table2
(Tuesday)
Incremental Backup [Table1, Table2]
(Wednesday)
Incremental Backup [Table1, Table2]
(Thursday)
depends
depends
depends
HBase Backups - HBaseCon 20149
Technical Design - Full Backup
10 HBase Backups - HBaseCon 2014
$ hbase backup create full
hdfs://targetCluster.ibm.com:9000/hbasebackups
biginsights:hbasecon_table1
Global
Distributed
WAL Roll
Take
Snapshot
Track WAL
Timestamp
Through
Zookeeper
Export
Snapshot
Generate
Manifest
Technical Design - Incremental Backup
11 HBase Backups - HBaseCon 2014
$ hbase backup create incremental
hdfs://targetCluster.ibm.com:9000/hbasebackups
Global
Distributed
WAL Roll
Track WAL
Timestamp
Through
ZooKeeper
DistCp WAL
Logs into
Backup
Image
Generate
Manifest
Technical Design - Restore
12 HBase Backups - HBaseCon 2014
$ hbase restore hdfs://targetCluster.ibm.com:9000/hbasebackups
biginsights:hbasecon_table1 biginsights:hbasecon_table1_restore
Create Table
Pre-Split
Using
Manifest Info
Bulk Load
HFiles
Full and
Incremental
Play WAL of
Unconverted
Hlogs
Verify
Lineage
and Restore
Technical Design - Convert
13 HBase Backups - HBaseCon 2014
$ hbase backup convert /hbasebackups backup_20140502_2100
full backup : backup_20140501_2100
Incremental backup backup_20140502_2100
/hbasebackups/biginsights/hbasecon_table1/
backup_20140501_2100/Metadata+HFiles
backup_20140502_2100/Metadata
/hbasebackups/biginsights/hbasecon_table2/
backup_20140501_2100/Metadata+HFiles
backup_20140502_2100/Metadata
/hbasebackups/WALs/
backup_20140502_2100/HLogs of ALL Tables
Before
Technical Design - Convert
14 HBase Backups - HBaseCon 2014
$ hbase backup convert /hbasebackups backup_20140502_2100
full backup : backup_20140501_2100
Incremental backup backup_20140502_2100
/hbasebackups/biginsights/hbasecon_table1/
backup_20140501_2100/Metadata+HFiles
backup_20140502_2100/Metadata+HFiles
/hbasebackups/biginsights/hbasecon_table2/
backup_20140501_2100/Metadata+HFiles
backup_20140502_2100/Metadata+HFiles
/hbasebackups/WALs/
backup_20140502_2100/
After
Technical Design - Merge
15 HBase Backups - HBaseCon 2014
$ hbase backup merge /hbasebackups biginsights:hbasecon_table1
backup_20140501_2100 backup_20140502_2100
Full backup: backup_20140501_2100
Incremental backup: backup_20140502_2100
/hbasebackups/biginsights/hbasecon_table1/
backup_20140501_2100/
backup_20140502_2100/
/hbasebackups/biginsights/hbasecon_table1/
backup_20140502_2100/
TimeStamp 2
TimeStamp 1
TimeStamp 2
User Interface - CLI
$ hbase backup help
Usage: hbase backup COMMAND
where COMMAND is one of:
create create a new backup
cancel cancel an ongoing backup
delete delete an existing backup
describe show the detailed information of a backup
history show history of all successful backups
status show the status of the latest backup request
convert convert incremental backup WAL files into HFiles
merge merge backup images
stop remove table(s) from backup table set
show show table(s) in backup table set
Enter 'help COMMAND' to see help message for each command
16 HBase Backups - HBaseCon 2014
User Interface – Web UI Backup
17 HBase Backups - HBaseCon 2014
User Interface – Web UI Restore
18 HBase Backups - HBaseCon 2014
Data Structure - Backup Image
• Table Info and Region Info
• Backup Manifest
– Table Name
– Type: Full or Incremental
– Size
– Timestamp Info
– State Info: Converted, Merged, Compacted, etc.
– Dependency Lineage
• Data
– HFiles
– WALs (For Incremental Backup before convert)
19 HBase Backups - HBaseCon 2014
Data Structure - ZooKeeper
/backup/hbase
startcode {backup marker}
complete/
backupId_1 {contains backup metadata}
……
backupId_n
ongoing {contains the progress status of the current operation}
failed {contains error code and message of the current operation}
cancel {triggers a cancel operation }
incr/
tablelogtimestamp/
table_1 {list of region servers and associated log timestamp for this table}
……
table_n
last-roll-log-ts/
rs_1 {contains the log timestamp from last roll log}
……
rs_n
20 HBase Backups - HBaseCon 2014
HBase Backups - HBaseCon 2014
Sincere gratitude is hereby extended to the following
developers who contributed to this effort:
Richard Ding, Jing Chen He, Enoch Hsu, Yu Li, Jihong Ma,
Demai Ni, Kan Zhang, Liping Zhang, Xiang Zhou
* ordered by last name
21
Salesforce.com Backups
HBase Backups - HBaseCon 2014
Jesse Yates
22
Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain
forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if
any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
expressed or implied by the forward-looking statements we make. All statements other than statements of historical
fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other
financial items and any statements regarding strategies or plans of management for future operations, statements of
belief, any statements concerning new, planned, or upgraded services or technology developments and customer
contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and
delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in
our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures,
risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively
limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new
releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products,
and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the
financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year
ended January 31, 2011. This document and others are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other press releases or public statements are not currently
available and may not be delivered on time or at all. Customers who purchase our services should make the purchase
decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not
intend to update these forward-looking statements.
23 HBase Backups - HBaseCon 2014
Safe Harbor
Salesforce Environment
• Many tenants per cluster
• At least 90 days of recovery
• DR failover to remote DC
• All writes through Phoenix
– Timestamp control
24 HBase Backups - HBaseCon 2014
Design Goals
• Validate backups regularly
• Minimize time to restore a tenant
• Validate replication is up to date
• Minimize data storage
25 HBase Backups - HBaseCon 2014
Backups
• M/R a table at a given point in time
– Point-in-time view of the table
• Chunked by file size + tenant (per server)
• Chunk manifest
– Chunk info (min/max/hash/tenant ids)
26 HBase Backups - HBaseCon 2014
Backups
27 HBase Backups - HBaseCon 2014
Key CF CQ TS Value
user1_a fam qual 14 value10
user1_a fam qual 12 Value5
user1_a fam qual 10 Valu2
user1_a fam qual 8 value4
user1_a fam qual 3 value13
user1_a fam qual 2 value56
1. http://phoenix.incubator.apache.org/
Backups
28 HBase Backups - HBaseCon 2014
Some HBase Table
M M M M M M M
Hadoop Distributed File System
Backups
• Each backup is an incremental
– Lineage by convention
• Never write too far back in time
• Data retained by custom coprocessor
– Retained up to last successful backup
29 HBase Backups - HBaseCon 2014
“Backup isn’t a backup until you’ve restored it
and tested it”
-- Some Ops Guy
30 HBase Backups - HBaseCon 2014
Restore + Validation
• Restore each backup to a new table
• Validate that backup has same data a existing
table
– Within backup timerange
• Move ‘retained timestamps’ forward
31 HBase Backups - HBaseCon 2014
Restore
32 HBase Backups - HBaseCon 2014
HDFS
/hbase
…
/salesforce
/backup
/somehbasetable
/03/14/14
backup.properties
chunk1
chunk1.manifest
….
chunk1000
chunk1000.manifest
M
M
M
SomeHBaseTable_Restore
Restore
• Configurable validation percent
– Start high, move lower
• Backup only valid if restore is successful
33 HBase Backups - HBaseCon 2014
34 HBase Backups - HBaseCon 2014
90 Days of Backup is
LOTS of Data
Even without any duplicates!
Granularity Reduction
• Combine backups every ‘period’
– Week, month, 3 months
– Specified in table metadata
• Keep latest version of the row
• Helpful with lots of updates
– Not useful for unique data (e.g. time series)
35 HBase Backups - HBaseCon 2014
Granularity Reduction
36 HBase Backups - HBaseCon 2014
HDFS
/salesforce
/backup
/somehbasetable
/03-14-14
/03-13-14
…
/03-07-14
/03-01_07-14
/02-23_28-14
/02-16_24-14
/02-09_15-14
/01-14
/12-13
/11-13
/base
M
M
M
HDFS
/salesforce
/03-07_14-14
/03-01_07-14
/02-14
/01-14
/12-13
/base
HDFS
Granularity Reduction
37 HBase Backups - HBaseCon 2014
HDFS
/salesforce
/backup
/somehbasetable
/03-14-14
/03-13-14
…
/03-07-14
/03-01_07-14
/02-23_28-14
/02-16_24-14
/02-09_15-14
/01-14
/12-13
/11-13
/base
M
M
M
Weekly Merge
Monthly
Merge
/salesforce
/03-07_14-14
/03-01_07-14
/02-14
/01-14
/12-13
/base
Rebuilt Base
38 HBase Backups - HBaseCon 2014
Meanwhile…
Remember that DR site?
Disaster Recovery
39 HBase Backups - HBaseCon 2014
Primary Data Center Buddy (DR) Data Center
Validation By Backup
• Validate replication is working
• Validate backup process consistent
• Validate granularity reduction consistent
40 HBase Backups - HBaseCon 2014
Validation By Backup
• Build up hash of hashes
– Two level Merkle Tree
• Check that both DCs have the same hash
– Can easily identify differences per-manifest
• Requires time-delay for backups
– <= replication delay
41 HBase Backups - HBaseCon 2014
Hash Validation
42 HBase Backups - HBaseCon 2014
Backup Manifest
• chunk size
• start time
• end time
• combined hash
• version
Chunk
Manifest
• key prefix
• stats
• hash
Chunk
Manifest
• key prefix
• stats
• hash
…
Primary Data Center
Backup Manifest
• chunk size
• start time
• end time
• combined hash
• version
Chunk
Manifest
• key prefix
• stats
• hash
Chunk
Manifest
• key prefix
• stats
• hash
…
Buddy Data Center
Mismatch!
Tracking Status
• Daily emails
• Progress stored in Phoenix Table
• Easy access for auditing
• Easy display for UI (coming soon)
43 HBase Backups - HBaseCon 2014
Future Work
• Extensive tooling around per-tenant restore
• M/R from snapshot
44 HBase Backups - HBaseCon 2014
Special Thanks
All the members of the Salesforce HBase team,
particularly:
Vasu Mariyala, Sukumar Maddineni, Alex Araujo, Lars
Hofhansl, Ian Varley, Santosh Rau
45 HBase Backups - HBaseCon 2014
Lessons Learned
• Track Properties
– Version, table, lineage, etc
• Fast Restore is Important
– Consider your business case
• Validation!
46 HBase Backups - HBaseCon 2014
Summary
• Per-Table Backups
• IBM
– WAL based
– Extra tooling for fast restores
– Extensive lineage tracking
• Salesforce
– M/R over HTable
– Multi-tenant
– Multiple Validation vectors
47 HBase Backups - HBaseCon 2014
48 HBase Backups - HBaseCon 2014
Thanks!
Questions?
Jesse Yates Demai Ni
Jing He Chen
Richard Ding

Contenu connexe

Tendances

SAP IQ 16 Product Annoucement
SAP IQ 16 Product AnnoucementSAP IQ 16 Product Annoucement
SAP IQ 16 Product Annoucement
Dobler Consulting
 

Tendances (20)

SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster RecoverySAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS10- Scale-Out, High Availability and Disaster Recovery
 
Mahesh_Resume
Mahesh_ResumeMahesh_Resume
Mahesh_Resume
 
SAP IQ 16 Product Annoucement
SAP IQ 16 Product AnnoucementSAP IQ 16 Product Annoucement
SAP IQ 16 Product Annoucement
 
SAP HANA SPS09 - SAP HANA Scalability
SAP HANA SPS09 - SAP HANA ScalabilitySAP HANA SPS09 - SAP HANA Scalability
SAP HANA SPS09 - SAP HANA Scalability
 
Large Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint DeploymentsLarge Scale SQL Considerations for SharePoint Deployments
Large Scale SQL Considerations for SharePoint Deployments
 
SUSE Linux Enterprise: The Open Platform for SAP
SUSE Linux Enterprise: The Open Platform for SAPSUSE Linux Enterprise: The Open Platform for SAP
SUSE Linux Enterprise: The Open Platform for SAP
 
SAP HANA Accelerator for SAP ASE
SAP HANA Accelerator for SAP ASESAP HANA Accelerator for SAP ASE
SAP HANA Accelerator for SAP ASE
 
Storage Optimization and Operational Simplicity in SAP Adaptive Server Enter...
Storage Optimization and Operational Simplicity in SAP  Adaptive Server Enter...Storage Optimization and Operational Simplicity in SAP  Adaptive Server Enter...
Storage Optimization and Operational Simplicity in SAP Adaptive Server Enter...
 
Enhancing the Security of Data at Rest with SAP ASE 16
Enhancing the Security of Data at Rest with SAP ASE 16Enhancing the Security of Data at Rest with SAP ASE 16
Enhancing the Security of Data at Rest with SAP ASE 16
 
SAP S/4 HANA Disaster Recovery Confidence
SAP S/4 HANA Disaster Recovery ConfidenceSAP S/4 HANA Disaster Recovery Confidence
SAP S/4 HANA Disaster Recovery Confidence
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
Disaster Recovery for SAP HANA with SUSE Linux
Disaster Recovery for SAP HANA with SUSE LinuxDisaster Recovery for SAP HANA with SUSE Linux
Disaster Recovery for SAP HANA with SUSE Linux
 
What's New in SAP Replication Server 15.7.1 SP100
What's New in SAP Replication Server 15.7.1 SP100What's New in SAP Replication Server 15.7.1 SP100
What's New in SAP Replication Server 15.7.1 SP100
 
Hadoop integration with SAP HANA
Hadoop integration with SAP HANAHadoop integration with SAP HANA
Hadoop integration with SAP HANA
 
SAP HANA – A Technical Snapshot
SAP HANA – A Technical SnapshotSAP HANA – A Technical Snapshot
SAP HANA – A Technical Snapshot
 
How To Be a Great DBA
How To Be a Great DBAHow To Be a Great DBA
How To Be a Great DBA
 
SAP NetWeaver BW Powered by SAP HANA
SAP NetWeaver BW Powered by SAP HANASAP NetWeaver BW Powered by SAP HANA
SAP NetWeaver BW Powered by SAP HANA
 
Best Practices to Administer, Operate, and Monitor an SAP HANA System
Best Practices to Administer, Operate, and Monitor an SAP HANA SystemBest Practices to Administer, Operate, and Monitor an SAP HANA System
Best Practices to Administer, Operate, and Monitor an SAP HANA System
 
Leveraging SAP ASE Workload Analyzer to optimize your database environment
Leveraging SAP ASE Workload Analyzer to optimize your database environmentLeveraging SAP ASE Workload Analyzer to optimize your database environment
Leveraging SAP ASE Workload Analyzer to optimize your database environment
 
Tips Tricks and Little known features in SAP ASE
Tips Tricks and Little known features in SAP ASETips Tricks and Little known features in SAP ASE
Tips Tricks and Little known features in SAP ASE
 

En vedette

DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...
DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...
DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...
Department for Work and Pensions
 
Ar.review sed 407
Ar.review sed 407Ar.review sed 407
Ar.review sed 407
Anne Belle
 

En vedette (19)

Amazing national standards race 2015
Amazing national standards race 2015Amazing national standards race 2015
Amazing national standards race 2015
 
Global Economic Update & Strategic Investment Outlook Q2 2014
Global Economic Update & Strategic Investment Outlook Q2 2014Global Economic Update & Strategic Investment Outlook Q2 2014
Global Economic Update & Strategic Investment Outlook Q2 2014
 
Emergency Medicine Events Register
Emergency Medicine Events RegisterEmergency Medicine Events Register
Emergency Medicine Events Register
 
DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...
DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...
DWP supplier event 23 May 2014 National Employer Service Team Sunita Singal a...
 
Azman slides
Azman slidesAzman slides
Azman slides
 
Esempio lezione sul corpo umano - Curtis
Esempio lezione sul corpo umano - CurtisEsempio lezione sul corpo umano - Curtis
Esempio lezione sul corpo umano - Curtis
 
Director General of WA Health - Launch Address
Director General of WA Health - Launch AddressDirector General of WA Health - Launch Address
Director General of WA Health - Launch Address
 
Fre 2015 webinar
Fre 2015 webinarFre 2015 webinar
Fre 2015 webinar
 
NHSA family engagement conference 2014
NHSA family engagement conference 2014NHSA family engagement conference 2014
NHSA family engagement conference 2014
 
Your Story Your Brand
Your Story Your BrandYour Story Your Brand
Your Story Your Brand
 
Connect the dots 2014 National Standards
Connect the dots 2014 National StandardsConnect the dots 2014 National Standards
Connect the dots 2014 National Standards
 
A
AA
A
 
Work Global, Live Local
Work Global, Live LocalWork Global, Live Local
Work Global, Live Local
 
Dev ops.enterprise.2014 (1)
Dev ops.enterprise.2014 (1)Dev ops.enterprise.2014 (1)
Dev ops.enterprise.2014 (1)
 
ANB Promotions Ltd Birmingham's Rising Star Activity | Dragon Boat Racing
ANB Promotions Ltd Birmingham's Rising Star Activity | Dragon Boat RacingANB Promotions Ltd Birmingham's Rising Star Activity | Dragon Boat Racing
ANB Promotions Ltd Birmingham's Rising Star Activity | Dragon Boat Racing
 
PROPUESTA DE UNA ESTRATEGIA DE CONTRATACIÓN PÚBLICA EN LAS ENTIDADES RESPONSA...
PROPUESTA DE UNA ESTRATEGIA DE CONTRATACIÓN PÚBLICA EN LAS ENTIDADES RESPONSA...PROPUESTA DE UNA ESTRATEGIA DE CONTRATACIÓN PÚBLICA EN LAS ENTIDADES RESPONSA...
PROPUESTA DE UNA ESTRATEGIA DE CONTRATACIÓN PÚBLICA EN LAS ENTIDADES RESPONSA...
 
India’s First SAS based SAN deployment
India’s First SAS based SAN deploymentIndia’s First SAS based SAN deployment
India’s First SAS based SAN deployment
 
SharePoint Hakkında
SharePoint HakkındaSharePoint Hakkında
SharePoint Hakkında
 
Ar.review sed 407
Ar.review sed 407Ar.review sed 407
Ar.review sed 407
 

Similaire à Hbase Backups: Backups in the Enterprise

Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
JAX London
 

Similaire à Hbase Backups: Backups in the Enterprise (20)

HBase Backups
HBase BackupsHBase Backups
HBase Backups
 
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability ImprovementsSupporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability Improvements
 
Supporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability ImprovementsSupporting Apache HBase : Troubleshooting and Supportability Improvements
Supporting Apache HBase : Troubleshooting and Supportability Improvements
 
ARUL MURUGAN SUBRAMANIAN
ARUL MURUGAN SUBRAMANIANARUL MURUGAN SUBRAMANIAN
ARUL MURUGAN SUBRAMANIAN
 
Harmonizing Multi-tenant HBase Clusters for Managing Workload Diversity
Harmonizing Multi-tenant HBase Clusters for Managing Workload DiversityHarmonizing Multi-tenant HBase Clusters for Managing Workload Diversity
Harmonizing Multi-tenant HBase Clusters for Managing Workload Diversity
 
Operationalizing Big Data as a Service
Operationalizing Big Data as a ServiceOperationalizing Big Data as a Service
Operationalizing Big Data as a Service
 
Hadoop operations-2014-strata-new-york-v5
Hadoop operations-2014-strata-new-york-v5Hadoop operations-2014-strata-new-york-v5
Hadoop operations-2014-strata-new-york-v5
 
SAP HANA SPS09 - Multitenant Database Containers
SAP HANA SPS09 - Multitenant Database ContainersSAP HANA SPS09 - Multitenant Database Containers
SAP HANA SPS09 - Multitenant Database Containers
 
Cloud centric consumption based services for SAP, HANA, Concur, Ariba, C4C
Cloud centric consumption based services for SAP, HANA, Concur, Ariba, C4CCloud centric consumption based services for SAP, HANA, Concur, Ariba, C4C
Cloud centric consumption based services for SAP, HANA, Concur, Ariba, C4C
 
Virtualized Big Data Platform at VMware Corp IT @ VMWorld 2015
Virtualized Big Data Platform at VMware Corp IT @ VMWorld 2015Virtualized Big Data Platform at VMware Corp IT @ VMWorld 2015
Virtualized Big Data Platform at VMware Corp IT @ VMWorld 2015
 
1. beyond mission critical virtualizing big data and hadoop
1. beyond mission critical   virtualizing big data and hadoop1. beyond mission critical   virtualizing big data and hadoop
1. beyond mission critical virtualizing big data and hadoop
 
A step by-step process to design and manage a successful sap bi implementatio...
A step by-step process to design and manage a successful sap bi implementatio...A step by-step process to design and manage a successful sap bi implementatio...
A step by-step process to design and manage a successful sap bi implementatio...
 
Rolling Out Apache HBase for Mobile Offerings at Visa
Rolling Out Apache HBase for Mobile Offerings at Visa Rolling Out Apache HBase for Mobile Offerings at Visa
Rolling Out Apache HBase for Mobile Offerings at Visa
 
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
 
High Scale Relational Storage at Salesforce Built with Apache HBase and Apach...
High Scale Relational Storage at Salesforce Built with Apache HBase and Apach...High Scale Relational Storage at Salesforce Built with Apache HBase and Apach...
High Scale Relational Storage at Salesforce Built with Apache HBase and Apach...
 
Fast SQL on Hadoop, really?
Fast SQL on Hadoop, really?Fast SQL on Hadoop, really?
Fast SQL on Hadoop, really?
 
Protecting your Critical Hadoop Clusters Against Disasters
Protecting your Critical Hadoop Clusters Against DisastersProtecting your Critical Hadoop Clusters Against Disasters
Protecting your Critical Hadoop Clusters Against Disasters
 
Ric bradley resume 2016
Ric bradley resume 2016Ric bradley resume 2016
Ric bradley resume 2016
 
HBase In Action - Chapter 10 - Operations
HBase In Action - Chapter 10 - OperationsHBase In Action - Chapter 10 - Operations
HBase In Action - Chapter 10 - Operations
 
project proposal guidelines for bw on hana Dr Erdas
project proposal guidelines for bw on hana Dr Erdasproject proposal guidelines for bw on hana Dr Erdas
project proposal guidelines for bw on hana Dr Erdas
 

Plus de Salesforce Engineering

Plus de Salesforce Engineering (20)

Locker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With WebpackLocker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With Webpack
 
Scaling HBase for Big Data
Scaling HBase for Big DataScaling HBase for Big Data
Scaling HBase for Big Data
 
Techniques to Effectively Monitor the Performance of Customers in the Cloud
Techniques to Effectively Monitor the Performance of Customers in the CloudTechniques to Effectively Monitor the Performance of Customers in the Cloud
Techniques to Effectively Monitor the Performance of Customers in the Cloud
 
Predictive System Performance Data Analysis
Predictive System Performance Data AnalysisPredictive System Performance Data Analysis
Predictive System Performance Data Analysis
 
Apache HBase State of the Project
Apache HBase State of the ProjectApache HBase State of the Project
Apache HBase State of the Project
 
Hit the Trail with Trailhead
Hit the Trail with TrailheadHit the Trail with Trailhead
Hit the Trail with Trailhead
 
HBase/PHOENIX @ Scale
HBase/PHOENIX @ ScaleHBase/PHOENIX @ Scale
HBase/PHOENIX @ Scale
 
Scaling up data science applications
Scaling up data science applicationsScaling up data science applications
Scaling up data science applications
 
Containers and Security for DevOps
Containers and Security for DevOpsContainers and Security for DevOps
Containers and Security for DevOps
 
Aspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveAspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already Have
 
Monitoring @ Scale in Salesforce
Monitoring @ Scale in SalesforceMonitoring @ Scale in Salesforce
Monitoring @ Scale in Salesforce
 
Performance Tuning with XHProf
Performance Tuning with XHProfPerformance Tuning with XHProf
Performance Tuning with XHProf
 
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache CalciteA Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
 
Implementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 MilesImplementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 Miles
 
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
 
Koober Preduction IO Presentation
Koober Preduction IO PresentationKoober Preduction IO Presentation
Koober Preduction IO Presentation
 
Finding Security Issues Fast!
Finding Security Issues Fast!Finding Security Issues Fast!
Finding Security Issues Fast!
 
Microservices
MicroservicesMicroservices
Microservices
 
Global State Management of Micro Services
Global State Management of Micro ServicesGlobal State Management of Micro Services
Global State Management of Micro Services
 
The Future of Hbase
The Future of HbaseThe Future of Hbase
The Future of Hbase
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Hbase Backups: Backups in the Enterprise

  • 1. HBase Backups Backups in the Enterprise Jesse Yates Demai Ni Jing Chen He Richard Ding 1 HBase Backups - HBaseCon 2014
  • 2. Overview • Commonalities • IBM BigInsights • Backups at Salesforce.com • Summary 2 HBase Backups - HBaseCon 2014
  • 3. Commonalities • Per-Table Backups • Stored On HDFS • Full Backup + Incrementals • Fast Restore • Multiple Clusters • Timestamp file layout • Manifest Files for additional info • Merging Backups 3 HBase Backups - HBaseCon 2014
  • 4. IBM BigInsights HBase Backups - HBaseCon 20144
  • 5. Backup Solution - IBM • Customer Requirements • Feature Overview • Technical Design • User Interface: CLI and Web UI • Data Structures • OpenSource through HBASE-7912 HBase Backup/Restore Based on HBase Snapshot 5 HBase Backups - HBaseCon 2014
  • 6. Customer Requirements • Backup and Restore – Critical requirements from enterprise customers – General solution – Easy-to-use user interfaces: CLI and Web UI – Multiple file systems: HDFS and GPFS* – Multiple MR frameworks: Hadoop and PSMR* 6 HBase Backups - HBaseCon 2014 *GPFS: IBM General Parallel File System *PSMR: Platform Symphony MapReduce
  • 7. Feature Overview • Full Backup based on HBase Snapshot • Incremental Backup based on HBase transaction logs • Table-level Incremental Backup • Point-In-Time Restore • On-the-fly and Off-line Convert from HLogs to HFiles • Off-line Merge Backup Images • Self-contained Backup Image with Manifest File • Usability features: – progress, status, and history reports – purge old Backup Images 7 HBase Backups - HBaseCon 2014
  • 8. Technical Design - Overview • Object: Backup Image • Operations: – Full Backup – Incremental Backup – Convert – Merge – Restore HBase Backups - HBaseCon 20148
  • 9. Technical Design - Backup Images Full Backup Table1 (Monday) Full Backup Table2 (Tuesday) Incremental Backup [Table1, Table2] (Wednesday) Incremental Backup [Table1, Table2] (Thursday) depends depends depends HBase Backups - HBaseCon 20149
  • 10. Technical Design - Full Backup 10 HBase Backups - HBaseCon 2014 $ hbase backup create full hdfs://targetCluster.ibm.com:9000/hbasebackups biginsights:hbasecon_table1 Global Distributed WAL Roll Take Snapshot Track WAL Timestamp Through Zookeeper Export Snapshot Generate Manifest
  • 11. Technical Design - Incremental Backup 11 HBase Backups - HBaseCon 2014 $ hbase backup create incremental hdfs://targetCluster.ibm.com:9000/hbasebackups Global Distributed WAL Roll Track WAL Timestamp Through ZooKeeper DistCp WAL Logs into Backup Image Generate Manifest
  • 12. Technical Design - Restore 12 HBase Backups - HBaseCon 2014 $ hbase restore hdfs://targetCluster.ibm.com:9000/hbasebackups biginsights:hbasecon_table1 biginsights:hbasecon_table1_restore Create Table Pre-Split Using Manifest Info Bulk Load HFiles Full and Incremental Play WAL of Unconverted Hlogs Verify Lineage and Restore
  • 13. Technical Design - Convert 13 HBase Backups - HBaseCon 2014 $ hbase backup convert /hbasebackups backup_20140502_2100 full backup : backup_20140501_2100 Incremental backup backup_20140502_2100 /hbasebackups/biginsights/hbasecon_table1/ backup_20140501_2100/Metadata+HFiles backup_20140502_2100/Metadata /hbasebackups/biginsights/hbasecon_table2/ backup_20140501_2100/Metadata+HFiles backup_20140502_2100/Metadata /hbasebackups/WALs/ backup_20140502_2100/HLogs of ALL Tables Before
  • 14. Technical Design - Convert 14 HBase Backups - HBaseCon 2014 $ hbase backup convert /hbasebackups backup_20140502_2100 full backup : backup_20140501_2100 Incremental backup backup_20140502_2100 /hbasebackups/biginsights/hbasecon_table1/ backup_20140501_2100/Metadata+HFiles backup_20140502_2100/Metadata+HFiles /hbasebackups/biginsights/hbasecon_table2/ backup_20140501_2100/Metadata+HFiles backup_20140502_2100/Metadata+HFiles /hbasebackups/WALs/ backup_20140502_2100/ After
  • 15. Technical Design - Merge 15 HBase Backups - HBaseCon 2014 $ hbase backup merge /hbasebackups biginsights:hbasecon_table1 backup_20140501_2100 backup_20140502_2100 Full backup: backup_20140501_2100 Incremental backup: backup_20140502_2100 /hbasebackups/biginsights/hbasecon_table1/ backup_20140501_2100/ backup_20140502_2100/ /hbasebackups/biginsights/hbasecon_table1/ backup_20140502_2100/ TimeStamp 2 TimeStamp 1 TimeStamp 2
  • 16. User Interface - CLI $ hbase backup help Usage: hbase backup COMMAND where COMMAND is one of: create create a new backup cancel cancel an ongoing backup delete delete an existing backup describe show the detailed information of a backup history show history of all successful backups status show the status of the latest backup request convert convert incremental backup WAL files into HFiles merge merge backup images stop remove table(s) from backup table set show show table(s) in backup table set Enter 'help COMMAND' to see help message for each command 16 HBase Backups - HBaseCon 2014
  • 17. User Interface – Web UI Backup 17 HBase Backups - HBaseCon 2014
  • 18. User Interface – Web UI Restore 18 HBase Backups - HBaseCon 2014
  • 19. Data Structure - Backup Image • Table Info and Region Info • Backup Manifest – Table Name – Type: Full or Incremental – Size – Timestamp Info – State Info: Converted, Merged, Compacted, etc. – Dependency Lineage • Data – HFiles – WALs (For Incremental Backup before convert) 19 HBase Backups - HBaseCon 2014
  • 20. Data Structure - ZooKeeper /backup/hbase startcode {backup marker} complete/ backupId_1 {contains backup metadata} …… backupId_n ongoing {contains the progress status of the current operation} failed {contains error code and message of the current operation} cancel {triggers a cancel operation } incr/ tablelogtimestamp/ table_1 {list of region servers and associated log timestamp for this table} …… table_n last-roll-log-ts/ rs_1 {contains the log timestamp from last roll log} …… rs_n 20 HBase Backups - HBaseCon 2014
  • 21. HBase Backups - HBaseCon 2014 Sincere gratitude is hereby extended to the following developers who contributed to this effort: Richard Ding, Jing Chen He, Enoch Hsu, Yu Li, Jihong Ma, Demai Ni, Kan Zhang, Liping Zhang, Xiang Zhou * ordered by last name 21
  • 22. Salesforce.com Backups HBase Backups - HBaseCon 2014 Jesse Yates 22
  • 23. Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year ended January 31, 2011. This document and others are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements. 23 HBase Backups - HBaseCon 2014 Safe Harbor
  • 24. Salesforce Environment • Many tenants per cluster • At least 90 days of recovery • DR failover to remote DC • All writes through Phoenix – Timestamp control 24 HBase Backups - HBaseCon 2014
  • 25. Design Goals • Validate backups regularly • Minimize time to restore a tenant • Validate replication is up to date • Minimize data storage 25 HBase Backups - HBaseCon 2014
  • 26. Backups • M/R a table at a given point in time – Point-in-time view of the table • Chunked by file size + tenant (per server) • Chunk manifest – Chunk info (min/max/hash/tenant ids) 26 HBase Backups - HBaseCon 2014
  • 27. Backups 27 HBase Backups - HBaseCon 2014 Key CF CQ TS Value user1_a fam qual 14 value10 user1_a fam qual 12 Value5 user1_a fam qual 10 Valu2 user1_a fam qual 8 value4 user1_a fam qual 3 value13 user1_a fam qual 2 value56 1. http://phoenix.incubator.apache.org/
  • 28. Backups 28 HBase Backups - HBaseCon 2014 Some HBase Table M M M M M M M Hadoop Distributed File System
  • 29. Backups • Each backup is an incremental – Lineage by convention • Never write too far back in time • Data retained by custom coprocessor – Retained up to last successful backup 29 HBase Backups - HBaseCon 2014
  • 30. “Backup isn’t a backup until you’ve restored it and tested it” -- Some Ops Guy 30 HBase Backups - HBaseCon 2014
  • 31. Restore + Validation • Restore each backup to a new table • Validate that backup has same data a existing table – Within backup timerange • Move ‘retained timestamps’ forward 31 HBase Backups - HBaseCon 2014
  • 32. Restore 32 HBase Backups - HBaseCon 2014 HDFS /hbase … /salesforce /backup /somehbasetable /03/14/14 backup.properties chunk1 chunk1.manifest …. chunk1000 chunk1000.manifest M M M SomeHBaseTable_Restore
  • 33. Restore • Configurable validation percent – Start high, move lower • Backup only valid if restore is successful 33 HBase Backups - HBaseCon 2014
  • 34. 34 HBase Backups - HBaseCon 2014 90 Days of Backup is LOTS of Data Even without any duplicates!
  • 35. Granularity Reduction • Combine backups every ‘period’ – Week, month, 3 months – Specified in table metadata • Keep latest version of the row • Helpful with lots of updates – Not useful for unique data (e.g. time series) 35 HBase Backups - HBaseCon 2014
  • 36. Granularity Reduction 36 HBase Backups - HBaseCon 2014 HDFS /salesforce /backup /somehbasetable /03-14-14 /03-13-14 … /03-07-14 /03-01_07-14 /02-23_28-14 /02-16_24-14 /02-09_15-14 /01-14 /12-13 /11-13 /base M M M HDFS /salesforce /03-07_14-14 /03-01_07-14 /02-14 /01-14 /12-13 /base
  • 37. HDFS Granularity Reduction 37 HBase Backups - HBaseCon 2014 HDFS /salesforce /backup /somehbasetable /03-14-14 /03-13-14 … /03-07-14 /03-01_07-14 /02-23_28-14 /02-16_24-14 /02-09_15-14 /01-14 /12-13 /11-13 /base M M M Weekly Merge Monthly Merge /salesforce /03-07_14-14 /03-01_07-14 /02-14 /01-14 /12-13 /base Rebuilt Base
  • 38. 38 HBase Backups - HBaseCon 2014 Meanwhile… Remember that DR site?
  • 39. Disaster Recovery 39 HBase Backups - HBaseCon 2014 Primary Data Center Buddy (DR) Data Center
  • 40. Validation By Backup • Validate replication is working • Validate backup process consistent • Validate granularity reduction consistent 40 HBase Backups - HBaseCon 2014
  • 41. Validation By Backup • Build up hash of hashes – Two level Merkle Tree • Check that both DCs have the same hash – Can easily identify differences per-manifest • Requires time-delay for backups – <= replication delay 41 HBase Backups - HBaseCon 2014
  • 42. Hash Validation 42 HBase Backups - HBaseCon 2014 Backup Manifest • chunk size • start time • end time • combined hash • version Chunk Manifest • key prefix • stats • hash Chunk Manifest • key prefix • stats • hash … Primary Data Center Backup Manifest • chunk size • start time • end time • combined hash • version Chunk Manifest • key prefix • stats • hash Chunk Manifest • key prefix • stats • hash … Buddy Data Center Mismatch!
  • 43. Tracking Status • Daily emails • Progress stored in Phoenix Table • Easy access for auditing • Easy display for UI (coming soon) 43 HBase Backups - HBaseCon 2014
  • 44. Future Work • Extensive tooling around per-tenant restore • M/R from snapshot 44 HBase Backups - HBaseCon 2014
  • 45. Special Thanks All the members of the Salesforce HBase team, particularly: Vasu Mariyala, Sukumar Maddineni, Alex Araujo, Lars Hofhansl, Ian Varley, Santosh Rau 45 HBase Backups - HBaseCon 2014
  • 46. Lessons Learned • Track Properties – Version, table, lineage, etc • Fast Restore is Important – Consider your business case • Validation! 46 HBase Backups - HBaseCon 2014
  • 47. Summary • Per-Table Backups • IBM – WAL based – Extra tooling for fast restores – Extensive lineage tracking • Salesforce – M/R over HTable – Multi-tenant – Multiple Validation vectors 47 HBase Backups - HBaseCon 2014
  • 48. 48 HBase Backups - HBaseCon 2014 Thanks! Questions? Jesse Yates Demai Ni Jing He Chen Richard Ding

Notes de l'éditeur

  1. Provides a snapshot of the table from time 11 backwards. Even if we are writing to the table from the client, we won’t see any of those updates.Caveat of special CPs that ensure we don’t lose data that we haven’t backed up yet (at cost of some extra versions everyday)
  2. We also validate the generated files by restoring them to table and checking against the unmerged data
  3. We also validate the generated files by restoring them to table and checking against the unmerged data