开发者

send Hbase batch Puts compressed?

开发者 https://www.devze.com 2023-01-09 10:39 出处:网络
Is there a way to send a batch of hbase puts, co开发者_运维技巧mpressed. I\'m setting auto flush to false and I\'m using a bufferSize of 2MG. Is there a way to compress the puts in order to send more

Is there a way to send a batch of hbase puts, co开发者_运维技巧mpressed.

I'm setting auto flush to false and I'm using a bufferSize of 2MG. Is there a way to compress the puts in order to send more puts in one batch.

Thank,


You can use any compress library (such as Google's snappy) to compress/decompress the data by yourself.

0

精彩评论

暂无评论...
验证码 换一张
取 消