Wow, this is bizarre.
Artem, do you see anything in ambari-server.log corresponding to the GET 
http://localhost:8080/api/v1/clusters/c1/services/STORM call?

Yusaku

From: Sumit Mohanty <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, April 17, 2015 9:07 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: delete using API problem


​That error is something I am not familiar with. Perhaps someone else can chime 
in.

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of Artem Ervits 
<[email protected]<mailto:[email protected]>>
Sent: Friday, April 17, 2015 8:24 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: delete using API problem

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 '​'

Reply via email to