You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Swapan Shridhar (JIRA)" <ji...@apache.org> on 2018/07/20 20:35:00 UTC

[jira] [Commented] (AMBARI-24328) PostTrunkMerge : UI Host page API call is broken.

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

Swapan Shridhar commented on AMBARI-24328:
------------------------------------------

Removed stack related code which has come after merge.

> PostTrunkMerge : UI Host page API call is broken.
> -------------------------------------------------
>
>                 Key: AMBARI-24328
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24328
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: Screen Shot 2018-07-20 at 1.32.48 PM.png
>
>
> *ISSUE:*
> Post Trunk merge, Host API call breaks.
> API call:
> http://172.27.25.196:8080/api/v1/clusters/cl1/hosts?fields=Hosts/rack_info,Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/cpu_count,Hosts/ph_cpu_count,alerts_summary,Hosts/host_status,Hosts/host_state,Hosts/last_heartbeat_time,Hosts/ip,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,host_components/HostRoles/stale_configs,host_components/HostRoles/service_name,host_components/HostRoles/display_name,host_components/HostRoles/desired_admin_state,host_components/metrics/dfs/namenode/ClusterId,host_components/metrics/dfs/FSNamesystem/HAState,Hosts/total_mem,stack_versions/HostStackVersions,stack_versions/repository_versions/RepositoryVersions/repository_version,stack_versions/repository_versions/RepositoryVersions/id,stack_versions/repository_versions/RepositoryVersions/display_name&minimal_response=true,host_components/logging&page_size=10&from=0&sortBy=Hosts/host_name.asc&_=1532118655459
> Response:
> {code}
> {
>   "status" : 400,
>   "message" : "The properties [stack_versions/repository_versions/RepositoryVersions/repository_version, stack_versions/HostStackVersions, stack_versions/repository_versions/RepositoryVersions/display_name, stack_versions/repository_versions/RepositoryVersions/id] specified in the request or predicate are not supported for the resource type Host."
> }
> {code}
>  !Screen Shot 2018-07-20 at 1.32.48 PM.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)