ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-6205) Hosts: host health filter is broken
Date Thu, 19 Jun 2014 11:30:32 GMT

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

Aleksandr Kovalenko updated AMBARI-6205:
----------------------------------------

    Attachment: AMBARI-6205.patch

> Hosts: host health filter is broken
> -----------------------------------
>
>                 Key: AMBARI-6205
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6205
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.1
>            Reporter: Aleksandr Kovalenko
>            Assignee: Aleksandr Kovalenko
>            Priority: Critical
>             Fix For: 1.6.1
>
>         Attachments: AMBARI-6205.patch
>
>
> Host health filter is broken.
> It looks like we are adding unnecessary ".*" to the status so the server returns 0 hosts.
> For example, selecting "Master Down", the UI is querying (notice the incorrect Hosts/host_status
value):
> {noformat}
> http://162.216.148.192:8080/api/v1/clusters/cl30/hosts?page_size=25&from=0&Hosts/host_status=UNHEALTHY.*&fields=Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/cpu_count,Hosts/ph_cpu_count,Hosts/total_mem,Hosts/host_status,Hosts/last_heartbeat_time,Hosts/os_arch,Hosts/os_type,Hosts/ip,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,host_components/HostRoles/stale_configs,host_components/HostRoles/service_name,metrics/disk,metrics/load/load_one,metrics/cpu/cpu_system,metrics/cpu/cpu_user,metrics/memory/mem_total,metrics/memory/mem_free,alerts/summary&minimal_response=true&_=1403135833053
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message