This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 5c9ab0c  MAPREDUCE-7342. Stop RMService in 
TestClientRedirect.testRedirect() (#2968)
5c9ab0c is described below

commit 5c9ab0ce09709e7e47eddfdfc8c4e43198120c91
Author: lzx404243 <[email protected]>
AuthorDate: Sun Aug 29 19:39:33 2021 -0400

    MAPREDUCE-7342. Stop RMService in TestClientRedirect.testRedirect() (#2968)
    
    Signed-off-by: Akira Ajisaka <[email protected]>
    (cherry picked from commit 7b5be74228cb4a68d11f52ac061829b70a4f3144)
---
 .../test/java/org/apache/hadoop/mapred/TestClientRedirect.java    | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java
 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java
index 5972f65..f034f34 100644
--- 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java
+++ 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java
@@ -280,6 +280,14 @@ public class TestClientRedirect {
     }
 
     @Override
+    protected void serviceStop() throws Exception {
+      if (server != null) {
+        server.stop();
+      }
+      super.serviceStop();
+    }
+
+    @Override
     protected void serviceInit(Configuration conf) throws Exception {
       clientServiceBindAddress = RMADDRESS;
       /*

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

Reply via email to