You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2012/12/04 01:41:58 UTC

[jira] [Updated] (AMBARI-1052) UnsupportedPropertyException thrown from update

     [ https://issues.apache.org/jira/browse/AMBARI-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Beerbower updated AMBARI-1052:
----------------------------------

    Attachment: AMBARI-1052.patch
    
> 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
>         Attachments: AMBARI-1052.patch
>
>
> 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