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

Ambari web fails to load Hive & Oozie config tabs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 2.1.0
    • None
    • ambari-web
    • None
    • INT

    • Important

    Description

      When using an oracle backend database for Hive and Oozie with a custom JDBC URL with a custom port (different from 1521) , Ambari web fails to load Hive and Oozie config tabs: there is a spinning circle that spins indefinitely.

      I think that the reason why ambari web can't load the configurations is because it expects the JDBC URL for Oracle to match precisely the 1521 port.

      Indeed, the regex used to parse the string is the following:

      jdbc:oracle:thin:@(?:\/?\/?)(.*):1521(:|\/)(.*)
      

      In javascript/app.js at the line:

      dbName = jdbcUrl.replace(new RegExp(this.DB_JDBC_PATTERNS[result.dbType].format(stringUtils.escapeRegExp(result.location),'')), '');
      

      Attachments

        1. Screen Shot 2015-10-15 at 20.49.06.jpg
          284 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            yonolo younes kafi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: