hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toshihiro Suzuki <brfrn...@gmail.com>
Subject Data loss after compaction when a row has more than Integer.MAX_VALUE columns
Date Mon, 18 Jan 2016 04:05:26 GMT
Hi,

We have lost the data in our development environment when a row has more
than Integer.MAX_VALUE columns after compaction.

I think the reason is type of StoreScanner's countPerRow is int.


https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java#L67


After changing the type to long, it seems to be fixed.

What do you think about that?


Thanks,

Toshihiro Suzuki.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message