Skip to content

Commit

Permalink
YARN-3573. MiniMRYarnCluster constructor that starts the timeline ser…
Browse files Browse the repository at this point in the history
…ver using a boolean should be marked deprecated. Contributed by Brahma Reddy Battula.
  • Loading branch information
oza committed Oct 27, 2015
1 parent ea6b183 commit 96677be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 3 additions & 0 deletions hadoop-yarn-project/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 96677be

Please sign in to comment.