szetszwo commented on code in PR #5111:
URL: https://github.com/apache/ozone/pull/5111#discussion_r1273818797


##########
hadoop-ozone/dist/src/shell/ozone/ozone:
##########
@@ -78,6 +78,7 @@ function ozonecmd_case
   # This parameter significantly reduces GC pressure for Datanode.
   # Corresponding Ratis issue https://issues.apache.org/jira/browse/RATIS-534.
   
RATIS_OPTS="-Dorg.apache.ratis.thirdparty.io.netty.allocator.useCacheForAllThreads=false
 ${RATIS_OPTS}"
+  
OZONE_OPTS="-Dorg.apache.ratis.thirdparty.io.netty.native.workdir=${OZONE_HOME}/temp
 ${OZONE_OPTS}"

Review Comment:
   According to 
https://netty.io/4.0/xref/io/netty/util/internal/NativeLibraryLoader.html , the 
change here is to use Ozone temp dir instead of the perform temp dir.  So, it 
seems okay.
   
   @arp7 , do you see any problems which may occur?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to