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

Andras Bokor commented on YARN-5007:
------------------------------------

It should be marked as {{deprecated}}. Using config against constructor has 
been being the preferred way for 2 years. {{Deprecated}} is a good sign for 
developers to not to use that constructors.
-1 on reverting YARN-3573.

> Remove deprecated constructors of MiniYARNCluster and MiniMRYarnCluster
> -----------------------------------------------------------------------
>
>                 Key: YARN-5007
>                 URL: https://issues.apache.org/jira/browse/YARN-5007
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Andras Bokor
>            Assignee: Andras Bokor
>              Labels: oct16-easy
>             Fix For: 3.0.0-alpha3
>
>         Attachments: YARN-5007.01.patch, YARN-5007.02.patch, 
> YARN-5007.03.patch
>
>
> MiniYarnCluster has a deprecated constructor which is called by the other 
> constructors and it causes javac warnings during the build.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to