Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-386 [Umbrella] YARN API Changes
  3. YARN-711

Copy BuilderUtil methods into individual records

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • 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

        1. YARN-711.1.patch
          89 kB
          Jian He
        2. YARN-711.2.patch
          88 kB
          Jian He
        3. YARN-711.3.patch
          102 kB
          Jian He
        4. YARN-711.4.patch
          113 kB
          Jian He
        5. YARN-711.5.patch
          112 kB
          Jian He
        6. YARN-711.6.patch
          114 kB
          Jian He
        7. YARN-711.7.patch
          114 kB
          Jian He

        Issue Links

          Activity

            People

              jianhe Jian He
              vinodkv Vinod Kumar Vavilapalli
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: