hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-711) Copy BuilderUtil methods into individual records
Date Tue, 21 May 2013 19:13:15 GMT

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

Sandy Ryza commented on YARN-711:
---------------------------------

+1`to this
                
> Copy BuilderUtil methods into individual records
> ------------------------------------------------
>
>                 Key: YARN-711
>                 URL: https://issues.apache.org/jira/browse/YARN-711
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>
> BuilderUtils is one giant utils class which has all the factory methods needed for creating
records. It is painful for users to figure out how to create records. We are better off having
the factories in each record, that way users can easily create records.
> As a first step, we should just copy all the factory methods into individual classes,
deprecate BuilderUtils and then slowly move all code off BuilderUtils.

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