MAPREDUCE-7342. Stop RMService in TestClientRedirect.testRedirect() (#2968)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org> (cherry picked from commit 7b5be74228cb4a68d11f52ac061829b70a4f3144)
This commit is contained in:
parent
7c663043b2
commit
4a93ca78f9
@ -279,6 +279,14 @@ public class TestClientRedirect {
|
|||||||
super(name);
|
super(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void serviceStop() throws Exception {
|
||||||
|
if (server != null) {
|
||||||
|
server.stop();
|
||||||
|
}
|
||||||
|
super.serviceStop();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void serviceInit(Configuration conf) throws Exception {
|
protected void serviceInit(Configuration conf) throws Exception {
|
||||||
clientServiceBindAddress = RMADDRESS;
|
clientServiceBindAddress = RMADDRESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user