ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <yus...@hortonworks.com>
Subject Re: delete using API problem
Date Fri, 17 Apr 2015 16:29:29 GMT
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 <smohanty@hortonworks.com<mailto:smohanty@hortonworks.com>>
Reply-To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Date: Friday, April 17, 2015 9:07 AM
To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Subject: Re: delete using API problem


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

________________________________
From: dbist13@gmail.com<mailto:dbist13@gmail.com> <dbist13@gmail.com<mailto:dbist13@gmail.com>>
on behalf of Artem Ervits <artemervits@gmail.com<mailto:artemervits@gmail.com>>
Sent: Friday, April 17, 2015 8:24 AM
To: user@ambari.apache.org<mailto:user@ambari.apache.org>
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 '‚Äč'

Mime
View raw message