zentol commented on a change in pull request #6850: [FLINK-10252] Handle 
oversized metric messges
URL: https://github.com/apache/flink/pull/6850#discussion_r226615852
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/dump/MetricDumpSerialization.java
 ##########
 @@ -102,7 +121,10 @@ public MetricSerializationResult(byte[] 
serializedMetrics, int numCounters, int
         */
        public static class MetricDumpSerializer {
 
-               private DataOutputSerializer buffer = new 
DataOutputSerializer(1024 * 32);
+               private DataOutputSerializer countersBuffer = new 
DataOutputSerializer(1024 * 32);
 
 Review comment:
   The initial size could be reduced to `1024 * 8`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to