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