3.1.5.7.5 Set Service Configuration Settings

The Set Service Configuration Settings method SHOULD<41> be used to set service scoped 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>/config

serviceName: A parameter that specifies which service to set settings for.

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

HTTP status code

Description

200

Configuration settings were successfully set.

400

Unable to parse the configuration settings.

400

Request format is invalid.

400

Configuration request is empty.

400

Configuration request contains no settings.

400

An upgrade is already in progress. The big data cluster must be upgraded or rolled back before configuring new settings.

400

Configuration request contains invalid settings.

401

User is not authorized to make this request.

404

The big data cluster does not exist.

404

The service name specified does not exist.

500

An internal error occurred while setting the configuration settings.