You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/04/04 11:42:55 UTC

[GitHub] [drill] arina-ielchiieva commented on a change in pull request #1716: DRILL-7155: Create a standard logging message for batch sizes generated by indivi…

arina-ielchiieva commented on a change in pull request #1716: DRILL-7155: Create a standard logging message for batch sizes generated by indivi…
URL: https://github.com/apache/drill/pull/1716#discussion_r272138486
 
 

 ##########
 File path: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/batchsizing/RecordBatchSizerManager.java
 ##########
 @@ -336,8 +336,7 @@ private long normalizeMemorySizePerBatch() {
     }
 
     if (batchStatsContext.isEnableBatchSzLogging()) {
-      final String message = String.format("The Parquet reader batch memory has been set to [%d] byte(s)", normalizedMemorySize);
-      RecordBatchStats.logRecordBatchStats(message, batchStatsContext);
+      RecordBatchStats.printConfiguredBatchSize(batchStatsContext, (int)normalizedMemorySize);
 
 Review comment:
   ```suggestion
         RecordBatchStats.printConfiguredBatchSize(batchStatsContext, (int) normalizedMemorySize);
   ```

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