ArafatKhan2198 commented on code in PR #5407:
URL: https://github.com/apache/ozone/pull/5407#discussion_r1361573333
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/TrashPolicyOzone.java:
##########
@@ -286,6 +287,10 @@ protected class Emptier implements Runnable {
trashEmptierCorePoolSize, 1,
TimeUnit.SECONDS, new ArrayBlockingQueue<>(1024),
new ThreadPoolExecutor.CallerRunsPolicy());
+
+ // Set a custom thread name with the provided prefix
+ Thread.currentThread()
+ .setName(threadNamePrefix + "-" + Thread.currentThread().getName());
Review Comment:
Thanks for the help @adoroszlai , I have implemented a ThreadFactory for the
executor.
And what Test did we run to get the generate logs you showed above?
--
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]