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

Vrushali C updated YARN-5760:
-----------------------------
    Parent Issue: YARN-7055  (was: 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.4.14#64029)

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

Reply via email to