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

    • Sub-task
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • YARN-2928
    • None
    • timelineserver
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: