3.1.5.7.7 Set Resource Configuration Settings

The Set Resource Configuration Settings method SHOULD<43> be used to apply all pending configuration settings in a big data cluster.

This method is invoked by sending a POST operation to the following URI.

 https://<clusterIp>:<controllerPort>/api/<uriVersion>/bdc/services/<serviceName>/resources/<resourceName>/config

resourceName: The parameter that specifies which resource the service belongs to.

serviceName: The parameter that specifies which resource to retrieve settings for.

The HTTP response message for the Set Resource Configuration Settings method can include the following status codes.

HTTP status code

Description

200

Configuration upgrade was initiated.

400

Resource was invalid.

400

The control plane MUST be upgraded before the configuration for the big data cluster can be upgraded.

400

An upgrade is already in progress.

401

User is not authorized to make this request.

500

An internal error occurred while retrieving the configuration settings.