hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joep Rottinghuis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-5235) Avoid re-creation of EventColumnNameConverter in HBaseTimelineWriterImpl#storeEvents
Date Thu, 16 Jun 2016 18:13:05 GMT

     [ 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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message