Samrat002 commented on code in PR #4365:
URL: https://github.com/apache/hadoop/pull/4365#discussion_r890013938
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java:
##########
@@ -1442,7 +1441,7 @@ public static void destroyAllShellProcesses() {
*/
public static Set<Shell> getAllShells() {
synchronized (CHILD_SHELLS) {
- return new HashSet<>(CHILD_SHELLS.keySet());
+ return CHILD_SHELLS.keySet();
Review Comment:
reverted the changes !
--
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]