Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
HBASE-17327 Allow for lazy connection / BufferedMutator creation
- Closed