incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AMBARI-1846) Arguments passed to PostgresConnector and OracleConnector constructors are in the wrong order
Date Wed, 29 May 2013 19:50:20 GMT

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

Yusaku Sako reassigned AMBARI-1846:
-----------------------------------

    Assignee: Billie Rinaldi
    
> Arguments passed to PostgresConnector and OracleConnector constructors are in the wrong
order
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-1846
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1846
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>            Priority: Blocker
>             Fix For: 1.2.3
>
>
> In WorkflowJsonService:
> {code:java}
>     if (StringUtils.contains(DEFAULT_DRIVER, "oracle")) {
>       return new OracleConnector(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
>     } else {
>       return new PostgresConnector(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
>     }
> {code}
> In PostgresConnector (and similarly for OracleConnector):
> {code:java}
>   public PostgresConnector(String connectionURL, String driverName, String username,
String password) throws IOException {
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message