[ 
https://issues.apache.org/jira/browse/YARN-5235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joep Rottinghuis updated YARN-5235:
-----------------------------------
    Description: 
As per discussion in YARN-5170 [~varun_saxena] noted:
bq. 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 ?



  was:
As per discussion in YARN-5052 [~varun_saxena] noted:
bq. 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 ?




> Avoid re-creation of EvenColumnNameConverter in 
> HBaseTimelineWriterImpl#storeEvents
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-5235
>                 URL: https://issues.apache.org/jira/browse/YARN-5235
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Joep Rottinghuis
>            Assignee: Joep Rottinghuis
>            Priority: Trivial
>
> As per discussion in YARN-5170 [~varun_saxena] noted:
> bq. 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 ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to