ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "younes (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12873) Ambari web fails to load Hive & Oozie config tabs
Date Tue, 25 Aug 2015 16:21:46 GMT

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

younes updated AMBARI-12873:
----------------------------
    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:
{code}
jdbc:oracle:thin:@(?:\/?\/?)(.*):1521(:|\/)(.*)
{code}
In javascript/app.js at the line:
{code:javascript}
dbName = jdbcUrl.replace(new RegExp(this.DB_JDBC_PATTERNS[result.dbType].format(stringUtils.escapeRegExp(result.location),'')),
'');
{code}

  was:
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:
{code:javascript}
 dbName = jdbcUrl.replace(new RegExp(this.DB_JDBC_PATTERNS[result.dbType].format(stringUtils.escapeRegExp(result.location),'')),
'');
{code}


> Ambari web fails to load Hive & Oozie config tabs
> -------------------------------------------------
>
>                 Key: AMBARI-12873
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12873
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>         Environment: INT
>            Reporter: younes
>            Priority: Critical
>
> 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:
> {code}
> jdbc:oracle:thin:@(?:\/?\/?)(.*):1521(:|\/)(.*)
> {code}
> In javascript/app.js at the line:
> {code:javascript}
> dbName = jdbcUrl.replace(new RegExp(this.DB_JDBC_PATTERNS[result.dbType].format(stringUtils.escapeRegExp(result.location),'')),
'');
> {code}



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

Mime
View raw message