Hbase shell data manipulation

Example how to truncate:


Enter to the hbase shell

cd /opt/hbase/bin

./hbase shell


check table

list


truncate table

truncate 'AgentEvent'

truncate 'AgentInfo'

truncate 'AgentLifeCycle'

truncate 'AgentStatV2'

truncate 'ApiMetaData'

truncate 'ApplicationIndex'

truncate 'ApplicationMapStatisticsCallee_Ver2'

truncate 'ApplicationMapStatisticsCaller_Ver2'

truncate 'ApplicationMapStatisticsSelf_Ver2'

truncate 'ApplicationStatAggre'

truncate 'ApplicationTraceIndex'

truncate 'HostApplicationMap_Ver2'


https://data-flair.training/blogs/data-manipulation-hbase-command/

Comments