You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith Sharma K S (Jira)" <ji...@apache.org> on 2019/08/30 06:36:00 UTC

[jira] [Resolved] (YARN-5760) [ATSv2] Create HBase connection only if an app collector is publishing from NM

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

Rohith Sharma K S resolved YARN-5760.
-------------------------------------
    Resolution: Won't Fix

No activity for long time. In ATSv2 weekly call, discussed for cleaning up JIRA which are not going implement. Hence, closing the JIRA as Won't Fix. 
Feel free to reopen if still same design approach exists.  

> [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
>            Priority: Major
>
> 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
(v8.3.2#803003)

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