Refer below Map Reduce Program that can be used to delete column qualifier from HBase Table -
--------
# Set HBase class path
export HADOOP_CLASSPATH=`hbase classpath`
#execute MR
hadoop jar Test-0.0.1-SNAPSHOT.jar com.test.mymr.DeleteHBaseColumns
---------
Refer -
https://github.com/dinesh028/engineering/blob/master/src/com/test/mymr/DeleteHBaseColumns.java
--------
# Set HBase class path
export HADOOP_CLASSPATH=`hbase classpath`
#execute MR
hadoop jar Test-0.0.1-SNAPSHOT.jar com.test.mymr.DeleteHBaseColumns
---------
Refer -
https://github.com/dinesh028/engineering/blob/master/src/com/test/mymr/DeleteHBaseColumns.java
Comments
Post a Comment