hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Data loss after compaction when a row has more than Integer.MAX_VALUE columns
Date Mon, 18 Jan 2016 04:48:17 GMT
Interesting.

Can you share your use case where more than Integer.MAX_VALUE columns are
needed.

Consider filing a JIRA for the proposed change.

On Sun, Jan 17, 2016 at 8:05 PM, Toshihiro Suzuki <brfrn169@gmail.com>
wrote:

> 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