ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9508) RU : UI dialog shows x hosts as INSTALLED, but API has correct statuses
Date Fri, 06 Feb 2015 11:52:34 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309034#comment-14309034
] 

Hadoop QA commented on AMBARI-9508:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12697009/AMBARI-9508.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1607//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1607//console

This message is automatically generated.

> RU : UI dialog shows x hosts as INSTALLED, but API has correct statuses
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-9508
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9508
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.0.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9508.patch
>
>
> *Revised Description*:
> The UI dialog box that shows how many hosts are Current, Installed, or Not Installed
is not calculating the numbers correctly by using the API.
> See the screenshot where a RU is in progress, so the API reports 3 hosts in UPGRADING
and 1 INSTALLED (because none of its components advertise a version, so it will never transition
to UPGRADING, but instead, the Finalize will transition it directly to CURRENT). However,
the UI always seems to display the total count as Installed, and has a link to the Hosts page
with a pre-set filter for INSTALLED, which obviously won't coincide.
> *Original Description*:
> Install cluster
> Enable HA
> Register and install HDP-2.2.1.0-2214
> Try to do stack upgrade
> Proceed to Finalize
> Error appears:
> {code}The following 1 host(s) have not been upgraded to version 2.2.1.0-2214. Please
install and upgrade the Stack Version on those hosts and try again.\nHosts: org.apache.ambari.server.orm.entities.HostVersionEntity@49b8a9c3\n{code}
> Click on "Ignore and Proceed"
> Status become "Upgrade Completed"
> Close RU-window.
> On the page http://host:8080/#/main/admin/stack/versions status for HDP-2.2.1.0-2214
is "Upgrade: In Process" (displayed as link) [^scr1.png]. On click on it nothing happens.
> Hosts for HDP-2.2.1.0-2214 version:
> {code}0 Not Installed
> 3 Installed
> 0 Current{code}
> Click on "Installed"
> Popup with 3 hosts appears [^scr2.png].
> Click on "Go to Hosts"-button
> User is navigated to Hosts page with filter for Versions "2.2.1.0-2214 - Installed" (valid
filter), but there are no hosts on the table - "No hosts to display" [^scr3.png].



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

Mime
View raw message