Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- depends upon
-
YARN-708 Move RecordFactory classes to hadoop-yarn-api, miscellaneous fixes to the interfaces
- Closed
- is depended upon by
-
MAPREDUCE-5270 Migrate from using BuilderUtil factory methods to individual record factory method on MapReduce side
- Closed
- is related to
-
YARN-717 Copy BuilderUtil methods into token-related records
- Closed