MAPREDUCE-7301: Expose Mini MR Cluster attribute for testing
Signed-off-by: Mingliang Liu <liuml07@apache.org>
This commit is contained in:
parent
61563885f8
commit
55f01bda8e
|
@ -271,4 +271,8 @@ public class MiniMRCluster {
|
|||
}
|
||||
}
|
||||
|
||||
public MiniMRClientCluster getMrClientCluster() {
|
||||
return mrClientCluster;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -74,4 +74,8 @@ public class MiniMRYarnClusterAdapter implements MiniMRClientCluster {
|
|||
miniMRYarnCluster.start();
|
||||
}
|
||||
|
||||
public MiniMRYarnCluster getMiniMRYarnCluster() {
|
||||
return miniMRYarnCluster;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue