[
https://issues.apache.org/jira/browse/YARN-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wangda Tan updated YARN-2789:
-----------------------------
Attachment: YARN-2789-20141031-1.patch
Attached a patch added original method to create NodeReport for both
NodeReport#newInstance and BuilderUtils#newNodeReport.
> Re-instate the NodeReport.newInstance API modified in YARN-2698
> ---------------------------------------------------------------
>
> Key: YARN-2789
> URL: https://issues.apache.org/jira/browse/YARN-2789
> Project: Hadoop YARN
> Issue Type: Task
> Reporter: Siddharth Seth
> Assignee: Wangda Tan
> Priority: Critical
> Attachments: YARN-2789-20141031-1.patch
>
>
> Even though this is a private API, it will be used by downstream projects for
> testing. It'll be useful for this to be re-instated, maybe with a deprecated
> annotation, so that older versions of downstream projects can build against
> Hadoop 2.6.
> create() being private is a problem for multiple other classes - ContainerId,
> AppId etc, Container, NodeId ... Most classes on the client facing YARN APIs
> are likely to be required for testing in downstream projects.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)