Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10987

Error loading deferred resources when making metric API requests with null padding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • ambari-server
    • None

    Description

      If I add &params/padding=nulls to the metrics API request

      /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
      

      fails:

      {
        "status" : 500,
        "message" : "org.apache.ambari.server.controller.spi.SystemException: Error loading deferred resources"
      }
      

      Server hash: 2ef3a5c17a998738a6f46d9e1ca4e01193bd7ca2

      Attachments

        Issue Links

          Activity

            People

              swagle Siddharth Wagle
              swagle Siddharth Wagle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: