Siddharth Wagle created AMBARI-10987:
----------------------------------------
Summary: "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 {{¶ms/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]¶ms/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)