Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 735 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 735 Bytes

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"