Sevvy Yusuf
07/15/2021, 1:44 PMNeha Pawar
Sevvy Yusuf
07/15/2021, 4:19 PMpinotControllerClient.updateInstanceTags("Broker_172.17.0.3_8000", Map.of("instanceTags", List.of("")));
And got the following:
[400 Bad Request] during [PUT] to [<http://localhost:55387/instances/Broker_172.17.0.3_8000/updateTags?instanceTags>] [PinotControllerClient#updateInstanceTags(String,Map)]: [{"code":400,"error":"Must provide tags to update"}]Sevvy Yusuf
07/15/2021, 4:59 PMpinotControllerClient.updateInstanceTags("Broker_172.17.0.3_8000", Map.of("instanceTags", Collections.emptyList()));Neha Pawar
Sevvy Yusuf
07/16/2021, 8:46 AMNeha Pawar
Neha Pawar
cluster.tenant.isolation.enable=false in your controller conf file. eg my controller.conf looks like this
controller.host=localhost
controller.port=9000
controller.data.dir=/Users/npawar/quick_start_configs/pinot-quick-start/dataDir
controller.zk.str=localhost:2181
controller.helix.cluster.name=PinotCluster
cluster.tenant.isolation.enable=false
This should make your brokers/servers join with tag broker_untagged and server_untagged.
You should then be able to use the POST /tenants API and directly create tenants without using the updateTags APINeha Pawar
Neha Pawar