You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Cheng (JIRA)" <ji...@apache.org> on 2009/04/02 02:37:12 UTC

[jira] Updated: (CHUKWA-86) Take JDBC driver from environmet

     [ https://issues.apache.org/jira/browse/CHUKWA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng updated CHUKWA-86:
------------------------

    Attachment: CHUKWA-86-jdbc.patch

Introduced a new class DriverManagerUtil. 

DriverManagerUtil.loadDriver will look up driver name from system environment first. If found, use it. If not, use default.

All old DriverManager.getConnection calls are replaced with DriverManagerUtil.getConnection. 

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