You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2016/06/16 18:13:05 UTC

[jira] [Resolved] (YARN-5235) Avoid re-creation of EventColumnNameConverter in HBaseTimelineWriterImpl#storeEvents

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

Joep Rottinghuis resolved YARN-5235.
------------------------------------
    Resolution: Won't Fix

Requires method signature changes in order to avoid light-weight object creation.
Let's tackle this if the converter ever does become a heavy-weight instance.

> Avoid re-creation of EventColumnNameConverter 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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org