It seems PinotAdministrator doesn't return exit co...
# general
a
It seems PinotAdministrator doesn't return exit code 1 on failure.. this makes use in shell scripts difficult
I will double check but for example I found a script that had exit status enforced, but continued anyway
Copy code
pinot                           | 2020/09/04 05:45:11.326 INFO [AddTableCommand] [main] {"code":400,"error":"Invalid table config for table rawServiceView_REALTIME: Failed to find instances with tag: DefaultTenant_BROKER for table: rawServiceView_REALTIME"}
this didn't quit out and I would have expected it to..
x
Can you provide the cmd? We will fix it
Or just file an issue on GitHub and tag as big
Bug*
a
What I experienced was a glitch in running the same command, but later we switched to just use REST api as it is less resource usage for the same outcome and also HTTP responds naturally https://github.com/hypertrace/pinot/blob/main/pinot-servicemanager/docker-bin/install-schema#L38-L43