[
https://issues.apache.org/jira/browse/CHUKWA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheng updated CHUKWA-86:
------------------------
Status: Patch Available (was: Open)
Introduced a new class DriverManagerUtil.
DriverManagerUtil.loadDriver will look up driver name from system environment
first. If found, use it. If not, use default. We no longer force user to use
mysql driver. It could be any driver or driver wrapper.
All old DriverManager.getConnection calls are replaced with
DriverManagerUtil.getConnection. If later we decided to use connection pool, we
only need to change one place.
> Take JDBC driver from environmet
> --------------------------------
>
> Key: CHUKWA-86
> URL: https://issues.apache.org/jira/browse/CHUKWA-86
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Cheng
> Attachments: CHUKWA-86-jdbc.patch
>
>
> Currently JDBC driver is hard coded. Replace with class name from
> environment. If no driver name found, use default.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.