SteNicholas commented on code in PR #2555:
URL: https://github.com/apache/celeborn/pull/2555#discussion_r1682127554


##########
client/src/main/java/org/apache/celeborn/client/ShuffleClientImpl.java:
##########
@@ -126,6 +126,7 @@ public class ShuffleClientImpl extends ShuffleClient {
   private final boolean authEnabled;
   private final TransportConf dataTransportConf;
 
+  @SuppressWarnings("ThreadLocalUsage")
   private final ThreadLocal<Compressor> compressorThreadLocal =

Review Comment:
   @mridulm, because `initialValue` depends on `conf`, `compressorThreadLocal` 
could not use `static`. Therefore this just use 
`@SuppressWarnings("ThreadLocalUsage")`.



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to