vishal
12/05/2022, 11:09 AMvishal
12/06/2022, 5:23 AMSeunghyun
12/06/2022, 5:47 AMSeunghyun
12/06/2022, 5:47 AMvishal
12/06/2022, 5:52 AMvishal
12/06/2022, 5:52 AMvishal
12/06/2022, 5:53 AMsaurabh dubey
12/06/2022, 5:56 AM/instances/{instanceName}/updateTags
You'd want to pass the server name which you want to move to different tenant, and the tags parameter should have <yourTenantNameHere>_OFFLINE / <yourTenantNameHere>_REALTIME based on what kind of tenant you'd likesaurabh dubey
12/06/2022, 5:57 AMvishal
12/06/2022, 5:58 AMsaurabh dubey
12/06/2022, 6:01 AMvishal
12/06/2022, 6:01 AMsaurabh dubey
12/06/2022, 6:02 AMvishal
12/06/2022, 6:02 AMvishal
12/06/2022, 7:02 AMsaurabh dubey
12/06/2022, 7:19 AMvishal
12/06/2022, 7:22 AMjava.io.IOException: Failed : HTTP error code : 404vishal
12/06/2022, 7:22 AMsaurabh dubey
12/06/2022, 7:54 AMvishal
12/06/2022, 8:39 AM{
"tableName": "tab2",
"tableType": "OFFLINE",
"segmentsConfig": {
"schemaName": "tab1",
"replication": "1",
"replicasPerPartition": "1",
"segmentPushType": "APPEND",
"segmentPushFrequency": "HOURLY",
"allowNullTimeValue": true,
"timeColumnName": "ts"
},
"tenants": {
"broker": "TESTTENANT",
"server": "TESTTENANT"
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"rangeIndexColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"sortedColumn": [],
"noDictionaryColumns": [],
"bloomFilterColumns": [],
"loadMode": "MMAP",
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false,
"aggregateMetrics": false,
"nullHandlingEnabled": false,
"segmentNameGeneratorType": "normalizedDate"
},
"metadata": {},
"quota": {},
"task": {
"taskTypeConfigsMap": {
"SegmentGenerationAndPushTask": {
"schedule": "5 * * * * ?",
"tableMaxNumTasks": "10"
}
}
},
"routing": {},
"query": {},
"ingestionConfig": {
"batchIngestionConfig": {
"batchConfigMaps": [
{
"input.fs.className": "org.apache.pinot.plugin.filesystem.S3PinotFS",
"input.fs.prop.region": "us-east-1",
"input.fs.prop.secretKey": "{KEY}",
"input.fs.prop.accessKey": "{KEY}",
"inputDirURI": "s3://{PATH}",
"includeFileNamePattern": "glob:**/*.csv",
"excludeFileNamePattern": "glob:**/*.tmp",
"inputFormat": "csv"
}
],
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "HOURLY"
}
},
"isDimTable": false
}vishal
12/06/2022, 8:40 AMsaurabh dubey
12/06/2022, 8:41 AM"broker": "TESTTENANT",
Have you added brokers as well to the new tenants? Can you check output of
/brokers/tenants?vishal
12/06/2022, 8:42 AMvishal
12/06/2022, 8:42 AMsaurabh dubey
12/06/2022, 8:42 AMvishal
12/06/2022, 8:43 AM"DefaultTenant": [
"Broker_pinot-broker-0.pinot-broker-headless.dp.svc.cluster.local_8099",
"Broker_pinot-broker-1.pinot-broker-headless.dp.svc.cluster.local_8099"
],
"TESTTENANT": [
"Controller_pinot-controller-1.pinot-controller-headless.dp.svc.cluster.local_9000"
]
}saurabh dubey
12/06/2022, 8:46 AMvishal
12/06/2022, 8:47 AMvishal
12/06/2022, 9:20 AMsaurabh dubey
12/06/2022, 9:24 AM