[ 
https://issues.apache.org/jira/browse/HDFS-16904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685392#comment-17685392
 ] 

ASF GitHub Bot commented on HDFS-16904:
---------------------------------------

steveloughran commented on code in PR #5342:
URL: https://github.com/apache/hadoop/pull/5342#discussion_r1098976467


##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestSymlinkHdfs.java:
##########
@@ -99,6 +99,9 @@ public static void afterClassTeardown() throws Exception {
     if (cluster != null) {
       cluster.shutdown();
     }
+    if (webhdfs != null) {

Review Comment:
   use IOUtils.closeQuietly()





> Close webhdfs during the teardown
> ---------------------------------
>
>                 Key: HDFS-16904
>                 URL: https://issues.apache.org/jira/browse/HDFS-16904
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: hdfs
>    Affects Versions: 3.4.0, 3.3.5, 3.3.9
>         Environment: Tested using the Hadoop development environment Docker 
> image.
>            Reporter: Steve Vaughan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.9
>
>
> The teardown for the tests shutdown the cluster, but leaves HDFS open.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to