Mit Desai commented on YARN-3573:

[~djp], YARN-2890 takes care of that concern.
[~brahmareddy], thanks for picking this Jira. I think there should be a similar 
change to MiniYARNCluster.
public MiniYARNCluster(
      String testName, int numResourceManagers, int numNodeManagers,
      int numLocalDirs, int numLogDirs, boolean enableAHS) {
This method is ultimately called by MiniMRYarnCluster.

> MiniMRYarnCluster constructor that starts the timeline server using a boolean 
> should be marked depricated
> ---------------------------------------------------------------------------------------------------------
>                 Key: YARN-3573
>                 URL: https://issues.apache.org/jira/browse/YARN-3573
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: timelineserver
>    Affects Versions: 2.6.0
>            Reporter: Mit Desai
>            Assignee: Brahma Reddy Battula
>         Attachments: YARN-3573.patch
> {code}MiniMRYarnCluster(String testName, int noOfNMs, boolean enableAHS){code}
> starts the timeline server using *boolean enableAHS*. It is better to have 
> the timelineserver started based on the config value.
> We should mark this constructor as deprecated to avoid its future use.

This message was sent by Atlassian JIRA

Reply via email to