ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artem Ervits <artemerv...@gmail.com>
Subject Re: delete using API problem
Date Fri, 17 Apr 2015 15:24:24 GMT
I think the anwer lies in last line "couldn't resolve host ''. How do I go
about this?

{
  "href" : "http://localhost:8080/api/v1/clusters/c1/services/STORM",
  "ServiceInfo" : {
    "cluster_name" : "c1",
    "maintenance_state" : "ON",
    "service_name" : "STORM",
    "state" : "UNKNOWN"
  },
  "alerts_summary" : {
    "CRITICAL" : 0,
    "MAINTENANCE" : 1,
    "OK" : 0,
    "UNKNOWN" : 0,
    "WARNING" : 0
  },
  "alerts" : [
    {
      "href" : "
http://localhost:8080/api/v1/clusters/c1/services/STORM/alerts/12",
      "Alert" : {
        "cluster_name" : "c1",
        "definition_id" : 22,
        "definition_name" : "storm_supervisor_process_percent",
        "host_name" : null,
        "id" : 12,
        "service_name" : "STORM"
      }
    }
  ],
  "components" : [
    {
      "href" : "
http://localhost:8080/api/v1/clusters/c1/services/STORM/components/DRPC_SERVER
",
      "ServiceComponentInfo" : {
        "cluster_name" : "c1",
        "component_name" : "DRPC_SERVER",
        "service_name" : "STORM"
      }
    },
    {
      "href" : "
http://localhost:8080/api/v1/clusters/c1/services/STORM/components/NIMBUS",
      "ServiceComponentInfo" : {
        "cluster_name" : "c1",
        "component_name" : "NIMBUS",
        "service_name" : "STORM"
      }
    },
    {
      "href" : "
http://localhost:8080/api/v1/clusters/c1/services/STORM/components/STORM_UI_SERVER
",
      "ServiceComponentInfo" : {
        "cluster_name" : "c1",
        "component_name" : "STORM_UI_SERVER",
        "service_name" : "STORM"
      }
    },
    {
      "href" : "
http://localhost:8080/api/v1/clusters/c1/services/STORM/components/SUPERVISOR
",
      "ServiceComponentInfo" : {
        "cluster_name" : "c1",
        "component_name" : "SUPERVISOR",
        "service_name" : "STORM"
      }
    }
  ],
  "artifacts" : [ ]
curl: (6) Couldn't resolve host '‚Äč'

Mime
View raw message