A customer runs the following command to export the HBase table data: hbase org.apache.hadoop.hbase.mapreduce.Export -Dhbase.mapreduce.include.deleted.rows=true tbl_tran_detail /tmp/tbl_tran_detail.
It is found that the volume of the exported data is much larger than that in the original file, as shown in the following figure.
The HBase table is compressed, and the compression algorithm is not specified during the export. As a result, the data volume increases.
In hbase shell, sort the table names in descending order to check whether the compression function can be enabled.
The parameters in the following figure can be used to specify the compression algorithm.