You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/09/28 08:03:36 UTC

[GitHub] [incubator-pinot] adriancole commented on issue #5876: Improving startup time with StartServiceManager command

adriancole commented on issue #5876:
URL: https://github.com/apache/incubator-pinot/issues/5876#issuecomment-699848761


   PS I added debug around the time to call InetAddress.getLocalHost on our docker image. It had nothing to do with the near minute soup-to-nuts startup time
   
   ```bash
   $ docker-compose logs pinot|egrep '(Resolved|since)'
   pinot                   | 07:58:55,341 INFO  [main] command.StartServiceManagerCommand (StartServiceManagerCommand.java:285) - Starting a Pinot [SERVICE_MANAGER] at 0.016s since launch
   pinot                   | Resolved localhost in 5ms
   pinot                   | 07:59:15,678 INFO  [main] command.StartServiceManagerCommand (StartServiceManagerCommand.java:287) - Started Pinot [SERVICE_MANAGER] instance [ServiceManager_02f8740f86c8_7098] at 20.388s since launch
   pinot                   | 07:59:15,734 INFO  [main] command.StartServiceManagerCommand (StartServiceManagerCommand.java:285) - Starting a Pinot [CONTROLLER] at 20.444s since launch
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | 07:59:31,450 INFO  [main] command.StartServiceManagerCommand (StartServiceManagerCommand.java:287) - Started Pinot [CONTROLLER] instance [Controller_02f8740f86c8_9000] at 36.161s since launch
   pinot                   | 07:59:31,452 INFO  [Start a Pinot [BROKER]] command.StartServiceManagerCommand (StartServiceManagerCommand.java:285) - Starting a Pinot [BROKER] at 36.162s since launch
   pinot                   | 07:59:31,452 INFO  [Start a Pinot [SERVER]] command.StartServiceManagerCommand (StartServiceManagerCommand.java:285) - Starting a Pinot [SERVER] at 36.163s since launch
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | 07:59:44,066 INFO  [Start a Pinot [SERVER]] command.StartServiceManagerCommand (StartServiceManagerCommand.java:287) - Started Pinot [SERVER] instance [Server_02f8740f86c8_8098] at 48.81s since launch
   pinot                   | 07:59:44,345 INFO  [Start a Pinot [BROKER]] command.StartServiceManagerCommand (StartServiceManagerCommand.java:287) - Started Pinot [BROKER] instance [Broker_02f8740f86c8_8099] at 49.09s since launch
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | Resolved localhost in 0ms
   pinot                   | *** Completed schema installation at 53s since launch
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org