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 2019/06/25 22:08:38 UTC

[GitHub] [incubator-pinot] jackjlli commented on a change in pull request #4361: Fix NPE when there is no aggregation results in prettyPrintResponse

jackjlli commented on a change in pull request #4361: Fix NPE when there is no aggregation results in prettyPrintResponse
URL: https://github.com/apache/incubator-pinot/pull/4361#discussion_r297414122
 
 

 ##########
 File path: pinot-tools/src/main/java/org/apache/pinot/tools/Quickstart.java
 ##########
 @@ -158,8 +161,8 @@ public void execute()
     runner.buildSegment();
     printStatus(Color.CYAN, "***** Pushing segment to the controller *****");
     runner.pushSegment();
-    printStatus(Color.CYAN, "***** Waiting for 5 seconds for the server to fetch the assigned segment *****");
-    Thread.sleep(5000);
+    printStatus(Color.CYAN, "***** Waiting for 60 seconds for the server to fetch the assigned segment *****");
+    waitForAllDocsLoaded(runner, 6000L);
 
 Review comment:
   Done.

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


With regards,
Apache Git Services

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