MAPREDUCE-7301: Expose Mini MR Cluster attribute for testing
Signed-off-by: Mingliang Liu <liuml07@apache.org>
This commit is contained in:
parent
5032f8abba
commit
05a73ded93
@ -271,4 +271,8 @@ public void shutdown() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MiniMRClientCluster getMrClientCluster() {
|
||||||
|
return mrClientCluster;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -74,4 +74,8 @@ public void restart() {
|
|||||||
miniMRYarnCluster.start();
|
miniMRYarnCluster.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MiniMRYarnCluster getMiniMRYarnCluster() {
|
||||||
|
return miniMRYarnCluster;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user