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 5032f8abba
commit 05a73ded93
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(); miniMRYarnCluster.start();
} }
public MiniMRYarnCluster getMiniMRYarnCluster() {
return miniMRYarnCluster;
}
} }