Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5A7B2200B9E for ; Fri, 2 Sep 2016 21:15:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 59362160AAE; Fri, 2 Sep 2016 19:15:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9CF33160ACB for ; Fri, 2 Sep 2016 21:15:21 +0200 (CEST) Received: (qmail 77295 invoked by uid 500); 2 Sep 2016 19:15:20 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 77245 invoked by uid 99); 2 Sep 2016 19:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2016 19:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9DBD62C1B80 for ; Fri, 2 Sep 2016 19:15:20 +0000 (UTC) Date: Fri, 2 Sep 2016 19:15:20 +0000 (UTC) From: "Di Li (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11639) Ambari Admin View URL does not get properly parsed for custom versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Sep 2016 19:15:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-11639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15459355#comment-15459355 ] Di Li commented on AMBARI-11639: -------------------------------- pushed to trunk as https://git-wip-us.apache.org/repos/asf?p=ambari.git;a=commit;h=24a50b7a26336c7d91a3623ce77d83e280f026a8 > Ambari Admin View URL does not get properly parsed for custom versions > ---------------------------------------------------------------------- > > Key: AMBARI-11639 > URL: https://issues.apache.org/jira/browse/AMBARI-11639 > Project: Ambari > Issue Type: Bug > Components: ambari-admin > Affects Versions: 2.1.0 > Reporter: Jesus Alvarez > Assignee: Di Li > Fix For: trunk > > Attachments: 0001-AMBARI-11639-Ambari-Admin-View-URL-does-not-get-prop.patch, AMBARI-11639.patch > > Original Estimate: 4h > Remaining Estimate: 4h > > When building a custom version of ADMIN VIEW jar with new version such as "2.1.0_custom", the UI returns a 404 message upon redirect. > Upon loading ambari-server (http://node1.bigdata:8080) for the first time, the URL is redirected to: > http://node1.bigdata:8080/views/ADMIN_VIEW/2.1.0_custom/INSTANCE/# , which returns a 404 missing page. > If the URL is manually changed to http://node1.bigdata:8080/views/ADMIN_VIEW/2.1.0/INSTANCE/# , the UI loads -- though links in ambari UI remain broken. > This appears to be caused by > latestVersion = sortedMappedVersions[sortedMappedVersions.length-1]; > and ambari.service.load_server_version ; each parsing version string differently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)