chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheng (JIRA)" <>
Subject [jira] Updated: (CHUKWA-86) Take JDBC driver from environmet
Date Thu, 02 Apr 2009 00:39:12 GMT


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:
>             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.

View raw message