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) {
|
public MiniMRYarnCluster(String testName, int noOfNMs) {
|
||||||
this(testName, noOfNMs, false);
|
this(testName, noOfNMs, false);
|
||||||
}
|
}
|
||||||
|
@Deprecated
|
||||||
public MiniMRYarnCluster(String testName, int noOfNMs, boolean enableAHS) {
|
public MiniMRYarnCluster(String testName, int noOfNMs, boolean enableAHS) {
|
||||||
super(testName, 1, noOfNMs, 4, 4, enableAHS);
|
super(testName, 1, noOfNMs, 4, 4, enableAHS);
|
||||||
historyServerWrapper = new JobHistoryServerWrapper();
|
historyServerWrapper = new JobHistoryServerWrapper();
|
||||||
|
@ -1022,6 +1022,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
|
|
||||||
YARN-4300. [JDK8] Fix javadoc errors caused by wrong tags. (aajisaka)
|
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
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -134,6 +134,7 @@ public class MiniYARNCluster extends CompositeService {
|
|||||||
* @param numLogDirs the number of nm-log-dirs per nodemanager
|
* @param numLogDirs the number of nm-log-dirs per nodemanager
|
||||||
* @param enableAHS enable ApplicationHistoryServer or not
|
* @param enableAHS enable ApplicationHistoryServer or not
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public MiniYARNCluster(
|
public MiniYARNCluster(
|
||||||
String testName, int numResourceManagers, int numNodeManagers,
|
String testName, int numResourceManagers, int numNodeManagers,
|
||||||
int numLocalDirs, int numLogDirs, boolean enableAHS) {
|
int numLocalDirs, int numLogDirs, boolean enableAHS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user