YARN-3573. MiniMRYarnCluster constructor that starts the timeline server using a boolean should be marked deprecated. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
ea6b183a1a
commit
96677bef00
@ -74,7 +74,7 @@ public MiniMRYarnCluster(String testName) {
|
||||
public MiniMRYarnCluster(String testName, int noOfNMs) {
|
||||
this(testName, noOfNMs, false);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public MiniMRYarnCluster(String testName, int noOfNMs, boolean enableAHS) {
|
||||
super(testName, 1, noOfNMs, 4, 4, enableAHS);
|
||||
historyServerWrapper = new JobHistoryServerWrapper();
|
||||
|
@ -1022,6 +1022,9 @@ Release 2.8.0 - UNRELEASED
|
||||
|
||||
YARN-4300. [JDK8] Fix javadoc errors caused by wrong tags. (aajisaka)
|
||||
|
||||
YARN-3573. MiniMRYarnCluster constructor that starts the timeline server
|
||||
using a boolean should be marked deprecated. (Brahma Reddy Battula via ozawa)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -134,6 +134,7 @@ public class MiniYARNCluster extends CompositeService {
|
||||
* @param numLogDirs the number of nm-log-dirs per nodemanager
|
||||
* @param enableAHS enable ApplicationHistoryServer or not
|
||||
*/
|
||||
@Deprecated
|
||||
public MiniYARNCluster(
|
||||
String testName, int numResourceManagers, int numNodeManagers,
|
||||
int numLocalDirs, int numLogDirs, boolean enableAHS) {
|
||||
|
Loading…
Reference in New Issue
Block a user