[
https://issues.apache.org/jira/browse/IOTDB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
FengQingxin reassigned IOTDB-1436:
----------------------------------
Assignee: Xinyu Tan
> cluster_scalability:2-node cluster,benchmark execute ingestion ,got NPE
> -----------------------------------------------------------------------
>
> Key: IOTDB-1436
> URL: https://issues.apache.org/jira/browse/IOTDB-1436
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Cluster
> Affects Versions: 0.12.0
> Reporter: 刘珍
> Assignee: Xinyu Tan
> Priority: Major
> Attachments: image-2021-06-11-14-34-55-839.png
>
>
> cluster version info :
> https://github.com/apache/iotdb/pull/3191
> commit f1e98e4bb77f7b5f09149d396e8eee8463bd2fc5
> Author: lta <[email protected]>
> Date: Thu Jun 10 00:52:26 2021 +0800
> iotdb-cluster.properties:
> seed_nodes=192.168.130.21:9003,192.168.130.13:9005
> default_replica_num=1
> start node-13 / node-21
> [iotdb@fit21 node21]$ ./sbin/nodetool.sh ring
> Node Identifier Node
> -680018325 ->192.168.130.13:9005:40010:6667 (FOLLOWER)
> -679983576 ->192.168.130.21:9003:40010:6667 (LEADER)
> benchmark config.properties:
> HOST=192.168.130.21
> PORT=6667
> USE_CLUSTER_DB=false
> #Benchmark自身是否使用集群模式(多Benchmark)
> USE_CLUSTER=true
> #当使用集群模式时起效,设定FIRST_INDEX后,device的起始为
> FIRST_INDEX*DEVICE_NUMBER
> FIRST_INDEX=3
> #IoTDB:jdbc,sessionByRecord,sessionByRecords,sessionByTabletjdbc,session
> INSERT_MODE=sessionByTablet
> #客户端和设备是否绑定,若为false则客户端数可以大于设备数
> IS_CLIENT_BIND=true
> #客户端并发数,若客户端和设备绑定,则必须小于等于设备数
> CLIENT_NUMBER=10
> #存储组数,必须小于等于设备数
> GROUP_NUMBER=10
> #存储组前缀,如果GROUP_NUMBER=3,则默认生成3个如下存储组:root.group_0、root.group_1、root.group_2
> GROUP_NAME_PREFIX=group_
> #总设备数
> DEVICE_NUMBER=20
> #每个设备的传感器数,总时间序列条数=DEVICE_NUMBER*SENSOR_NUMBER
> SENSOR_NUMBER=1000
> #各sensor时间戳是否对齐
> IS_SENSOR_TS_ALIGNMENT=true
> #批写入数据行数,每行是某个设备所有传感器在某一时间戳的数据,每个batch写入数据点数=SENSOR_NUMBER*BATCH_SIZE
> BATCH_SIZE=10
> #Total number of operations that each client process
> LOOP=80000
> node-21 cli execute select:
> select count(s_1) from root.group_0.d_60 ;
> select count(s_1) from root.group_0.d_70 ;
> select count(s_1) from root.group_1.d_61 ;
> select count(s_1) from root.group_1.d_71 ;
> select count(s_1) from root.group_2.d_62 ;
> select count(s_1) from root.group_2.d_72 ;
> select count(s_1) from root.group_3.d_63 ;
> select count(s_1) from root.group_3.d_73 ;
> select count(s_1) from root.group_4.d_64 ;
> select count(s_1) from root.group_4.d_74 ;
> select count(s_1) from root.group_5.d_65 ;
> select count(s_1) from root.group_5.d_75 ;
> select count(s_1) from root.group_6.d_66 ;
> select count(s_1) from root.group_6.d_76 ;
> select count(s_1) from root.group_7.d_67 ;
> select count(s_1) from root.group_7.d_77 ;
> select count(s_1) from root.group_8.d_68 ;
> select count(s_1) from root.group_8.d_78 ;
> select count(s_1) from root.group_9.d_69 ;
> select count(s_1) from root.group_9.d_79 ;
> The recorders number of the timeseries in
> group_0/group_1/group_3/group_4/group_6/group_7/group_9 is 10
> The recorders number of the timeseries in group_2/group_5/group_8 is as
> expected.
> benchmark got the exception:
> 2021-06-11 14:18:56,096 ERROR
> cn.edu.tsinghua.iotdb.benchmark.tsdb.DBWrapper:82 - Failed to insert one
> batch because unexpected exception:
> java.lang.NullPointerException: null
> Run benchmark on rel/0.12 (server) doesn't have this problem.
> !image-2021-06-11-14-34-55-839.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)