You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/02/26 17:55:03 UTC

[jira] [Commented] (AMBARI-25117) getAsPost requests don't work when ambari is used behind knox proxy

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

Hudson commented on AMBARI-25117:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10471 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10471/])
AMBARI-25117. getAsPost requests don't work when ambari is used behind (vishalsuvagia: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=a6171a70b7a6f50d7e37395005e8824667f14ab5])
* (edit) ambari-web/app/utils/http_client.js


> getAsPost requests don't work when ambari is used behind knox proxy
> -------------------------------------------------------------------
>
>                 Key: AMBARI-25117
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25117
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.7.0
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> getting:
> https://c7401.ambari.apache.org:8443/gateway/default/ambari/api/v1/clusters/cc/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,metrics/disk,metrics/load/load_one,Hosts/total_mem,Hosts/os_arch,Hosts/os_type,metrics/cpu/cpu_system,metrics/cpu/cpu_user,metrics/memory/mem_total,metrics/memory/mem_free,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=25&from=0&_=1546003790663
> gives:
> {"status":400,"message":"Invalid Request: Malformed Request Body.  An exception occurred parsing the request body: Unrecognized token 'from': was expecting \n at [Source: java.io.StringReader@9ba0d3a; line: 1, column: 6]"}



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