soumitra-st opened a new issue, #12239:
URL: https://github.com/apache/pinot/issues/12239
I have a cluster with 6 servers and they are tagged into pools as:
```
Server Server_100.69.142.24_7505
{
"DefaultTenant_OFFLINE": "2",
"DefaultTenant_REALTIME": "2"
}
Server Server_100.69.142.24_7504
{
"DefaultTenant_OFFLINE": "2",
"DefaultTenant_REALTIME": "2"
}
Server Server_100.69.142.24_7503
{
"DefaultTenant_OFFLINE": "1",
"DefaultTenant_REALTIME": "1"
}
Server Server_100.69.142.24_7502
{
"DefaultTenant_OFFLINE": "1",
"DefaultTenant_REALTIME": "1"
}
Server Server_100.69.142.24_7501
{
"DefaultTenant_OFFLINE": "3",
"DefaultTenant_REALTIME": "3"
}
Server Server_100.69.142.24_7500
{
"DefaultTenant_OFFLINE": "3",
"DefaultTenant_REALTIME": "3"
}
```
Can't create a table using "partitionSelector":
"FD_AWARE_INSTANCE_PARTITION_SELECTOR":
```
% curl http://localhost:9000/tables -H 'accept: application/json' -H
'Content-Type: application/json' -d @transcript-table-offline.json.az
{"code":500,"error":"Index 3 out of bounds for length 3"}
```
Table config used:
```
{
"tableName": "transcript",
"segmentsConfig" : {
"timeColumnName": "timestamp",
"timeType": "MILLISECONDS",
"replication" : "3",
"schemaName" : "transcript"
},
"tableIndexConfig" : {
"invertedIndexColumns" : [],
"loadMode" : "MMAP"
},
"tenants" : {
"broker":"DefaultTenant",
"server":"DefaultTenant"
},
"tableType":"OFFLINE",
"metadata": {},
"instanceAssignmentConfigMap": {
"OFFLINE": {
"partitionSelector": "FD_AWARE_INSTANCE_PARTITION_SELECTOR",
"tagPoolConfig": {
"tag": "DefaultTenant_OFFLINE",
"poolBased": true,
"numPools": 3
},
"replicaGroupPartitionConfig": {
"replicaGroupBased": true,
"numReplicaGroups": 3
}
}
}
}
```
Table creation succeeds with "partitionSelector":
"INSTANCE_REPLICA_GROUP_PARTITION_SELECTOR" as:
```
% curl http://localhost:9000/tables -H 'accept: application/json' -H
'Content-Type: application/json' -d @transcript-table-offline.json.az
{"unrecognizedProperties":{},"status":"Table transcript_OFFLINE successfully
added"}
```
cc: @jasperjiaguo @mayankshriv
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]