Creates a Kyuubi gateway.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/kyuubi/{workspaceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceId |
string |
No |
The workspace ID. |
w-d2d82aa09155**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| kyuubiConfigs |
string |
No |
The Kyuubi service configuration. |
[{\"key\":\"kyuubi.engine.share.level\",\"value\":\"USER\"}] |
| sparkConfigs |
string |
No |
The Spark configuration. |
[{\"key\":\"spark.app.name\",\"value\":\"test\"}] |
| name |
string |
No |
The Kyuubi service name. |
dev_serverless_spark |
| queue |
string |
No |
The queue where the Kyuubi service runs. |
dev_queue |
| computeInstance |
string |
No |
The specifications of the Kyuubi service. |
2c8g |
| releaseVersion |
string |
No |
The Spark database engine version. |
esr-4.6.0 (Spark 3.5.2, Scala 2.12) |
| publicEndpointEnabled |
boolean |
No |
Specifies whether to enable public network access. |
true |
| replica |
integer |
No |
The number of replicas for high availability (HA). |
3 |
| kyuubiReleaseVersion |
string |
No |
The Kyuubi service database engine version. |
1.9.2-0.0.2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| requestId |
string |
The request ID. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| data |
object |
The returned data. |
|
| kyuubiServiceId |
string |
The Kyuubi service ID. |
kb-f99935b350fb4****7ef700b8b4197a3 |
Examples
Success response
JSON format
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****\n",
"data": {
"kyuubiServiceId": "kb-f99935b350fb4****7ef700b8b4197a3"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.