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

Jaimin D Jetly updated AMBARI-14080:
------------------------------------
    Description: 
*STR:*
# On Add Service wizard while adding Ranger service, select MySQL database
# Test connection for system DBA user.This happens successfully 
# Switch the DB to MSSQL
# Again try test connection

*Expected Result:* MSSQL Jar should be used for test connection and if MSSQL is 
correctly setup test connection should pass
*Actual Result:* MySQL connection Jar is used and test connection fails

This is due to the incorrect API invoked by the ambari-web.
dbname field in the API is not updated when database flavor is changed and API 
is triggered via "Test Connection" action

> Test connection for Ranger from ambari takes the DB flavor selected before
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-14080
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14080
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.3
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>            Priority: Critical
>             Fix For: 2.1.3
>
>
> *STR:*
> # On Add Service wizard while adding Ranger service, select MySQL database
> # Test connection for system DBA user.This happens successfully 
> # Switch the DB to MSSQL
> # Again try test connection
> *Expected Result:* MSSQL Jar should be used for test connection and if MSSQL 
> is correctly setup test connection should pass
> *Actual Result:* MySQL connection Jar is used and test connection fails
> This is due to the incorrect API invoked by the ambari-web.
> dbname field in the API is not updated when database flavor is changed and 
> API is triggered via "Test Connection" action



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to