[
https://issues.apache.org/jira/browse/LENS-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263514#comment-14263514
]
Himanshu Gahlaut commented on LENS-123:
---------------------------------------
Documenting the objective:
Objective is not to only load multiple drivers for this jira ticket. Objective
is to create a driver-site.xml file which stays very easy to maintain even when
number of drivers increase.
E.g. File should stay as easy to maintain as possible even when 5 hive and 5
jdbc drivers are added.
Suggestion is to use a structured config file for the same which will be
compact, readable and also ensure that all properties of a driver are written
together at one place.
In a non structured file (current lens driver-site.xml files) not only there is
repeated keyword bloat but also only code reviews can ensure that all
properties of one driver are written together at one place. It is not naturally
ensured by the file schema.
Once we have 60 properties (Say: 10 drivers*6 properties) in the file, an
unstructured file will be relatively difficult to read and maintain.
> Ability to load different instances of same driver class
> --------------------------------------------------------
>
> Key: LENS-123
> URL: https://issues.apache.org/jira/browse/LENS-123
> Project: Apache Lens
> Issue Type: Improvement
> Components: server
> Reporter: Amareshwari Sriramadasu
> Assignee: Himanshu Gahlaut
> Fix For: 2.0
>
>
> Currently we are loading only one driver instance per class. We should be
> able to load multiple different instances of a driver class.
> For example, There can be multiple HiveDrivers talking to different
> HiveServers sitting on each colo. Or different JDBCDrivers talking to
> different dbs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)