hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-921) Consider adding clone methods to protocol objects
Date Tue, 10 Sep 2013 11:32:52 GMT

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

Junping Du commented on YARN-921:
---------------------------------

Great thanks for your input, [~bikassaha]! I just send out email thread to yarn-dev and call
for comments. Hope more good ideas are coming soon.
Two additional questions:
- Are target yarn protocol objects mostly in org.apache.hadoop.yarn.api.records package (not
including enum). Do I miss something else?
- Can we add a abstract class to implement cloneable api and make every target object to extends
this abstract class or we have to implement cloneable api on each object.
Thoughts?

                
> Consider adding clone methods to protocol objects
> -------------------------------------------------
>
>                 Key: YARN-921
>                 URL: https://issues.apache.org/jira/browse/YARN-921
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.1.0-beta
>            Reporter: Bikas Saha
>            Assignee: Junping Du
>
> Whenever we create a new object from an existing object, a clone method could be used
to create a copy efficiently vs. new object followed by setters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message