azagrebin commented on a change in pull request #8646: [FLINK-12735][network] 
Make shuffle environment implementation independent with IOManager
URL: https://github.com/apache/flink/pull/8646#discussion_r297102100
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/NettyShuffleEnvironmentBuilder.java
 ##########
 @@ -55,7 +54,9 @@
 
        private MetricGroup metricGroup = 
UnregisteredMetricGroups.createUnregisteredTaskManagerMetricGroup();
 
-       private IOManager ioManager = new IOManagerAsync();
+       private final String tempDir = 
EnvironmentInformation.getTemporaryFileDirectory();
+
+       private String[] tempDirs = new String[] {tempDir};
 
 Review comment:
   The whole `new String[] {tempDir}` can be a constant. We also put `static 
final` constants at the beginning of the class.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to