You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Liuxuxin (Jira)" <ji...@apache.org> on 2022/01/20 10:34:00 UTC

[jira] [Commented] (IOTDB-2431) [Compaction] java.lang.IllegalArgumentException: Negative position

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

Liuxuxin commented on IOTDB-2431:
---------------------------------

https://github.com/apache/iotdb/pull/4919

> [Compaction] java.lang.IllegalArgumentException: Negative position
> ------------------------------------------------------------------
>
>                 Key: IOTDB-2431
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2431
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>            Reporter: 刘珍
>            Assignee: Liuxuxin
>            Priority: Major
>              Labels: 0.13.0
>             Fix For: 0.13.0-SNAPSHOT
>
>         Attachments: config.properties, image-2022-01-18-16-03-34-869.png, image-2022-01-18-16-03-42-819.png, log_error.log, q.sh, q_num.sh
>
>
> master  0117    /   b0282e19904ae18304be0fdd9854f1fd96789d25
> 操作流程:
> 机器环境:(68服务器)256g内存,72cpu。
> MAX_HEAP_SIZE="128G"
> MAX_DIRECT_MEMORY_SIZE="64G"
> 1. 关合并,benchmark写入顺序 对齐序列
> enable_seq_space_compaction=false
> enable_unseq_space_compaction=false
> enable_cross_space_compaction=false
> // 产生比较大的tsfile:
> avg_series_point_number_threshold=10000000
> benchmark 配置见附件。
> 运行完成需要10小时。
> benchmark执行完成,cli执行flush。
> 2. iotdb执行查询 ,记录查询结果,作为基准结果,合并后的查询结果与此结果做对比
> 配置文件见附件q_num.sh q.sh
> 3. 停止数据库,备份data
> 4. 开合并,启动数据库,执行合并
> 除了修改开合并的配置,还需要修改:
> max_compaction_candidate_file_num=10
> 5. 合并完成,执行查询
> q.sh  q_num.sh并且与步骤2中的结果对比,通过。
> 6. 停止数据库,备份data,设置
> max_compaction_candidate_file_num=2
> 启动数据库,继续合并。
> 数据库启动成功,执行q.sh查询:
>  !image-2022-01-18-16-03-34-869.png! 
>  !image-2022-01-18-16-03-42-819.png! 



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