You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2023/05/30 19:38:52 UTC

[GitHub] [ozone] adoroszlai commented on a diff in pull request #4788: HDDS-8715. Hadoop RPC server creation renames current thread

adoroszlai commented on code in PR #4788:
URL: https://github.com/apache/ozone/pull/4788#discussion_r1210742612


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java:
##########
@@ -824,4 +826,23 @@ public static Map<String, String> processForLogging(OzoneConfiguration conf) {
     }
     return sortedOzoneProps;
   }
+
+  /**
+   * Execute some code and ensure thread name is not changed
+   * (workaround for HADOOP-18433).
+   */
+  public static <T, E extends IOException> T keepingThreadName(

Review Comment:
   Thanks @kerneltime for the review.  Patch is updated.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org