Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-570

Create YARN RPC Records using BuilderUtils instead of populating them by hand

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.0
    • 1.0.0
    • None
    • None

    Description

      Good newbie JIRA. Might need to check as see how far back in the Hadoop-2.0.x line the BuilderUtils exist so we know if we are cutting ourselves off from a future backport, but if we don't care, this can happen:

      Instead of creating and hand-populating each RPC record Giraph uses to request resources from YARN like:

      Record x = Records.newRecord( className );
      x.setField(blah);
      x.setOtherField(blahblah);
      // ...and so on
      

      we can use BuilderUtils:

      Record readyToSend = BuilderUtils.MakeMyNewRecord( blah, blah );
      

      anyway you get the drill.

      Attachments

        Activity

          People

            Unassigned Unassigned
            initialcontext Eli Reisman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: