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