You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "cryptoe (via GitHub)" <gi...@apache.org> on 2023/06/23 05:37:51 UTC

[GitHub] [druid] cryptoe commented on a diff in pull request #14449: Add log statements for tmpStorageBytes in MSQ

cryptoe commented on code in PR #14449:
URL: https://github.com/apache/druid/pull/14449#discussion_r1239339195


##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/exec/WorkerStorageParameters.java:
##########
@@ -71,6 +74,7 @@ public static WorkerStorageParameters createProductionInstance(
   )
   {
     long tmpStorageBytesPerTask = injector.getInstance(TaskConfig.class).getTmpStorageBytesPerTask();
+    log.info("Creating WorkerStorageParameters with value of tmpStorageBytesPerTask: [%s]", tmpStorageBytesPerTask);

Review Comment:
   ```suggestion
   ```



##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/exec/WorkerStorageParameters.java:
##########
@@ -71,6 +74,7 @@ public static WorkerStorageParameters createProductionInstance(
   )
   {
     long tmpStorageBytesPerTask = injector.getInstance(TaskConfig.class).getTmpStorageBytesPerTask();
+    log.info("Creating WorkerStorageParameters with value of tmpStorageBytesPerTask: [%s]", tmpStorageBytesPerTask);

Review Comment:
   I think this info line may not be needed. 



##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/exec/WorkerStorageParameters.java:
##########
@@ -97,6 +101,8 @@ public static WorkerStorageParameters createInstance(
     Preconditions.checkArgument(tmpStorageBytesPerTask > 0, "Temporary storage bytes passed: [%s] should be > 0", tmpStorageBytesPerTask);
     long intermediateSuperSorterStorageMaxLocalBytes = computeUsableStorage(tmpStorageBytesPerTask);
 
+    log.info("Useable storage: [%s]", intermediateSuperSorterStorageMaxLocalBytes);

Review Comment:
   ```suggestion
       log.info("Intermediate super sorter local storage size: %d bytes", intermediateSuperSorterStorageMaxLocalBytes);
   ```



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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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


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