ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10987) Error loading deferred resources when making metric API requests with null padding
Date Thu, 07 May 2015 17:44:59 GMT

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

Siddharth Wagle commented on AMBARI-10987:
------------------------------------------

The new API call should add the following to the predicate: *format=null_padding* instead
of params/padding=nulls.

_Options are_:
{code}
format=no_padding
format=null_padding
format=zero_padding
{code}

> Error loading deferred resources when making metric API requests with null padding
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-10987
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10987
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.0
>
>
> If I add {{&params/padding=nulls}} to the metrics API request 
> {code:java}
> /api/v1/clusters/c1/hosts/c6401.ambari.apache.org/host_components/NAMENODE?fields=metrics/cpu/cpu_system[1430833471,1430837071,15],metrics/cpu/cpu_user[1430833471,1430837071,15],metrics/cpu/cpu_nice[1430833471,1430837071,15],metrics/cpu/cpu_idle[1430833471,1430837071,15],metrics/cpu/cpu_wio[1430833471,1430837071,15],metrics/memory/mem_total[1430833471,1430837071,15],metrics/memory/mem_free[1430833471,1430837071,15],metrics/memory/mem_cached[1430833471,1430837071,15]&params/padding=nulls
> {code}
>  fails:
> {code:java}
> {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: Error loading
deferred resources"
> }
> {code}
> Server hash: 2ef3a5c17a998738a6f46d9e1ca4e01193bd7ca2



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

Mime
View raw message