MAPREDUCE-7301: Expose Mini MR Cluster attribute for testing

Signed-off-by: Mingliang Liu <liuml07@apache.org>
This commit is contained in:
Swaroopa Kadam 2020-10-08 14:56:27 -07:00 committed by Mingliang Liu
parent b92f72758b
commit 2e46ef9417
No known key found for this signature in database
GPG Key ID: BC2FB8C6908A0C16
2 changed files with 8 additions and 0 deletions

View File

@ -271,4 +271,8 @@ public void shutdown() {
}
}
public MiniMRClientCluster getMrClientCluster() {
return mrClientCluster;
}
}

View File

@ -74,4 +74,8 @@ public void restart() {
miniMRYarnCluster.start();
}
public MiniMRYarnCluster getMiniMRYarnCluster() {
return miniMRYarnCluster;
}
}