MAPREDUCE-7301: Expose Mini MR Cluster attribute for testing
Signed-off-by: Mingliang Liu <liuml07@apache.org>
This commit is contained in:
parent
dd17772b53
commit
0d5534430c
|
@ -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