Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3E571822B for ; Mon, 19 Oct 2015 12:15:05 +0000 (UTC) Received: (qmail 98371 invoked by uid 500); 19 Oct 2015 12:15:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 98298 invoked by uid 500); 19 Oct 2015 12:15:05 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 98274 invoked by uid 99); 19 Oct 2015 12:15:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2015 12:15:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 27BB22C1F7D for ; Mon, 19 Oct 2015 12:15:05 +0000 (UTC) Date: Mon, 19 Oct 2015 12:15:05 +0000 (UTC) From: "Antonenko Alexander (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12873) Ambari web fails to load Hive & Oozie config tabs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963210#comment-14963210 ] Antonenko Alexander commented on AMBARI-12873: ---------------------------------------------- Tried different scenarios, none of them lead to such issue. > 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 > Assignee: Antonenko Alexander > Priority: Critical > Attachments: Screen Shot 2015-10-15 at 20.49.06.jpg > > > 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)