[
https://issues.apache.org/jira/browse/LENS-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264335#comment-14264335
]
Laxman commented on LENS-123:
-----------------------------
Apologies for stretching this more. I believe this discussions helps in
arriving at better solution.
How about the following approach.
{code}
<configuration>
<property>
<name>lens.driver.<driver-type>.<driver-id></name>
<value>key1=value1,key2=value2[, ...]</value>
</property>
</configuration>
{code}
Advantages
- Inline with hadoop stack
- Support all varibles (environment variables and others)
- Well integrated with hadoop stack (job conf, etc.)
- Reuse existing libraries. No extra parsing library needed.
- Extensibility
> 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)