YARN-3573. MiniMRYarnCluster constructor that starts the timeline server using a boolean should be marked deprecated. Contributed by Brahma Reddy Battula.
(cherry picked from commit 96677bef00
)
This commit is contained in:
parent
1035637200
commit
3138b43f16
|
@ -74,7 +74,7 @@ public class MiniMRYarnCluster extends MiniYARNCluster {
|
|||
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();
|
||||
|
|
|
@ -970,6 +970,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