hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5760) [ATSv2] Create HBase connection only if an app collector is publishing from NM
Date Thu, 20 Oct 2016 18:50:59 GMT

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

Varun Saxena updated YARN-5760:
-------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: YARN-5355

> [ATSv2] Create HBase connection only if an app collector is publishing from NM
> ------------------------------------------------------------------------------
>
>                 Key: YARN-5760
>                 URL: https://issues.apache.org/jira/browse/YARN-5760
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>
> Irrespective of NM handling an app or not, we initialize HBaseTimelineWriterImpl in TimelineCollectorManager.
> This in turn calls ConnectionFactory#createConnection to manage connections with HBase.

> But it seems this opens up a connection with Zookeeper (i.e. as soon as NM starts up)
instead of opening connection when atleast one app arrives for publishing and closing it if
no apps are being published from this NM.
> This leads to unnecessary connections to Zookeeper.



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

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


Mime
View raw message