[jira] [Updated] (YARN-2789) Re-instate the NodeReport.newInstance API modified in YARN-2698

2014-10-31 Thread Vinod Kumar Vavilapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli updated YARN-2789:
--
Assignee: Wangda Tan
 Summary: Re-instate the NodeReport.newInstance API modified in YARN-2698  
(was: Re-instate the NodeReport.newInstance API modified in YARN-2968)

YARN-2698 is the right ticket, fixing title.

[~leftnoteasy], can you take this up given the breakage was from your patch? Tx.

 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

 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)


[jira] [Updated] (YARN-2789) Re-instate the NodeReport.newInstance API modified in YARN-2698

2014-10-31 Thread Wangda Tan (JIRA)

 [ 
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)