[ 
https://issues.apache.org/jira/browse/YARN-3573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260972#comment-15260972
 ] 

Andras Bokor commented on YARN-3573:
------------------------------------

[~brahmareddy] Thanks for getting back to me. I meant MiniYARNCluster not 
MiniMRYarnCluster.
Actually what I see is that through the other constructors we call the 
deprecated constructor. So finally we cannot avoid to call a deprecated method. 
It can be confusing at first time. Is it considered to remove?

> MiniMRYarnCluster constructor that starts the timeline server using a boolean 
> should be marked deprecated
> ---------------------------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 2.8.0
>
>         Attachments: YARN-3573-002.patch, 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
(v6.3.4#6332)

Reply via email to