Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14080

Test connection for Ranger from ambari takes the DB flavor selected before

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • ambari-web
    • None

    Description

      STR:

      1. On Add Service wizard while adding Ranger service, select MySQL database
      2. Test connection for system DBA user.This happens successfully
      3. Switch the DB to MSSQL
      4. 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

      Attachments

        1. AMBARI-14080.patch
          5 kB
          Jaimin Jetly

        Issue Links

          Activity

            People

              jaimin Jaimin Jetly
              jaimin Jaimin Jetly
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: