Export data from HBase shell
Try this
echo "scan 'registration',{COLUMNS=>'registration:status'}" | hbase shell | grep "^ " > registration.txt
Since the results are prefixed with single space, remaining stuff would be filtered out.
Try this
echo "scan 'registration',{COLUMNS=>'registration:status'}" | hbase shell | grep "^ " > registration.txt
Since the results are prefixed with single space, remaining stuff would be filtered out.