incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-1052) UnsupportedPropertyException thrown from update
Date Tue, 04 Dec 2012 00:33:58 GMT
Tom Beerbower created AMBARI-1052:
-------------------------------------

             Summary: UnsupportedPropertyException thrown from update
                 Key: AMBARI-1052
                 URL: https://issues.apache.org/jira/browse/AMBARI-1052
             Project: Ambari
          Issue Type: Sub-task
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower


API  with PUT method:

api/v1/clusters/<clusterName>/host_components?HostRoles/host_name=<hostName>

data = {config: {'global': 'version1', 'core-site': 'version1', 'mapred-site': 'version1'}};

Basically, I want to apply configurations on host resource.

This gives me an exception right now (copied from firebug):

{code}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;"/>
<title>Error 500 Update of resource failed: org.apache.ambari.server.controller.spi.UnsupportedPropertyException:
The properties [PropertyId[config,core-site], PropertyId[config,global], PropertyId[config,mapred-site]]
specified in the request or predicate are not supported for the resource type HostComponent.</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /api/v1/clusters/mycluster/host_components. Reason:
<pre>    Update of resource failed: org.apache.ambari.server.controller.spi.UnsupportedPropertyException:
The properties [PropertyId[config,core-site], PropertyId[config,global], PropertyId[config,mapred-site]]
specified in the request or predicate are not supported for the resource type HostComponent.</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message