You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haiming Zhu (Jira)" <ji...@apache.org> on 2021/11/27 08:11:00 UTC

[jira] [Commented] (IOTDB-2068) GZIP compressor meets ArrayIndexOutOfBoundsException

    [ https://issues.apache.org/jira/browse/IOTDB-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449775#comment-17449775 ] 

Haiming Zhu commented on IOTDB-2068:
------------------------------------

{*}Step 1{*}. create timeseries like this

create timeseries root.sg1.d1.s1 with datatype=INT64,encoding=PLAIN,compressor=GZIP
create timeseries root.sg1.d1.s2 with datatype=INT64,encoding=PLAIN,compressor=GZIP
create timeseries root.sg1.d1.s3 with datatype=INT64,encoding=PLAIN,compressor=GZIP

 

{*}Step 2{*}. call insertTablet method in SessionExample 1000 times

 

{*}Step 3{*}. you will see error like this

!error.jpeg|width=701,height=572!

> GZIP compressor meets ArrayIndexOutOfBoundsException
> ----------------------------------------------------
>
>                 Key: IOTDB-2068
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2068
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: Jialin Qiao
>            Assignee: Haiming Zhu
>            Priority: Major
>             Fix For: 0.13.0-SNAPSHOT
>
>         Attachments: error.jpeg, image-2021-11-26-23-47-29-854.png
>
>
> When using GZIP compressor to compress data. We got an exception:
>  
> ArrayIndexOutOfBoundsException: arraycopy: last destination index 836 out of bounds for byte[825]
>  
> !image-2021-11-26-23-47-29-854.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)