Skip to content

Backup single HBase table as a CSV format in local filesystem.

Notifications You must be signed in to change notification settings

sakthiinfotec/hbase-csv-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single HBase Table - CSV Backup

Backup single HBase table as a CSV format in local filesystem. We need to pre-define the list of columns we needed from a particular column family. This code uses necessary jars to connect HBase table along with OpenCSV jar to write CSV records. Need to define column type mapping in yaml.

STEPS TO RUN HBASE-BACKUP APPLICATION

  1. Take a maven build using "mvn clean package", we will get backup-utils-0.0.1-SNAPSHOT.jar
  2. Copy the backup-utils-0.0.1-SNAPSHOT.jar file from /home//workspace/hbase-backup/target into "dist/hbase-backup/lib" path
  3. Make necessary configuration changes in "conf/config.yml" file
  4. Run the application using "./run.sh"

About

Backup single HBase table as a CSV format in local filesystem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published