Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-5235

Avoid re-creation of EventColumnNameConverter in HBaseTimelineWriterImpl#storeEvents

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: YARN-2928
    • Fix Version/s: None
    • Component/s: timelineserver
    • Labels:
      None

      Description

      As per discussion in YARN-5170 Varun Saxena noted:

      In HBaseTimelineWriterImpl#storeEvents, we iterate over all events in a loop and will be creating EventColumnNameConverter object each time. Although its not a very heavy object right now, but can't we just create it once outside the loop ?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jrottinghuis Joep Rottinghuis
                Reporter:
                jrottinghuis Joep Rottinghuis
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: