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 61563885f8
commit 55f01bda8e
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 class MiniMRCluster {
}
}
public MiniMRClientCluster getMrClientCluster() {
return mrClientCluster;
}
}

View File

@ -74,4 +74,8 @@ public class MiniMRYarnClusterAdapter implements MiniMRClientCluster {
miniMRYarnCluster.start();
}
public MiniMRYarnCluster getMiniMRYarnCluster() {
return miniMRYarnCluster;
}
}