JRuby program to read data from HBase CLI and delete rowkey based on match parameter found.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
ctl_tbls_cleanup.sh
ctl_tbls_cleanup_workflow.xml
purge_Q.jruby

README.md

JRuby_HBase_API

This is HBase program written in JRuby to export data from HBase using HBase shell and delete required rowkey if programability matches.

Below are the steps to execute program:-

hadoop fs -cat hdfs://maintenance_scripts/purge_Q.jruby | hbase shell >> /tmp/ctl_tbls_log.txt

Additionally you can create a oozie workflow to call shell script which will execute above command on any cluster node.

Workflow also attached for reference with name ctl_tbls_cleanup_workflow.xml