You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cdpcli/data/datalake/datalake.yaml
+57-3Lines changed: 57 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ x-form-factors: public
6
6
x-cdp-releases: PUBLIC
7
7
x-audit: true
8
8
info:
9
-
version: 0.9.108
9
+
version: 0.9.109
10
10
title: Cloudera Datalake Service
11
11
license:
12
12
name: Apache 2.0
@@ -823,7 +823,7 @@ paths:
823
823
$ref: '#/definitions/Error'
824
824
/api/v1/datalake/resizeDatalake:
825
825
post:
826
-
summary: Resizes the given datalake to the given target size. Currently, the only valid use of this is for resizing a light duty datalake to a medium duty datalake.
826
+
summary: Resizes the given datalake to the given target size.
827
827
description: Resizes the datalake to the given size.
828
828
operationId: resizeDatalake
829
829
x-mutating: true
@@ -842,6 +842,27 @@ paths:
842
842
description: The default response on an error.
843
843
schema:
844
844
$ref: '#/definitions/Error'
845
+
/api/v1/datalake/scaleHorizontally:
846
+
post:
847
+
summary: Horizontally scale the Data Lake nodes, to add additional compute nodes to the cluster.
848
+
description: Horizontally scale the target host group in the Data Lake cluster. The possible option for the instance group are raz_scale_out, hms_scale_out, kafka_scale_out, solr_scale_out, storage_scale_out
849
+
operationId: scaleHorizontally
850
+
x-mutating: true
851
+
parameters:
852
+
- name: input
853
+
in: body
854
+
required: true
855
+
schema:
856
+
$ref: '#/definitions/ScaleHorizontallyRequest'
857
+
responses:
858
+
200:
859
+
description: Successful response to a valid Data Lake horizontal scaling request.
860
+
schema:
861
+
$ref: '#/definitions/ScaleHorizontallyResponse'
862
+
default:
863
+
description: The default response on an error.
864
+
schema:
865
+
$ref: '#/definitions/Error'
845
866
/api/v1/datalake/recoverDatalake:
846
867
post:
847
868
summary: Recover data lake to the original version after a failed upgrade.
@@ -3068,7 +3089,7 @@ definitions:
3068
3089
description: The name or CRN of the datalake.
3069
3090
targetSize:
3070
3091
type: string
3071
-
description: The target size for the datalake.
3092
+
description: The target size for the datalake. The resize target size can be MEDIUM_DUTY or ENTERPRISE. If the runtime version >= 7.2.17 target size is ENTERPRISE. If not, the target size is MEDIUM_DUTY.
3072
3093
enum:
3073
3094
- MEDIUM_DUTY_HA
3074
3095
- ENTERPRISE
@@ -3101,6 +3122,39 @@ definitions:
3101
3122
cloudbreakVersion:
3102
3123
type: string
3103
3124
description: The Cloudbreak version used to create the data lake.
3125
+
ScaleHorizontallyRequest:
3126
+
type: object
3127
+
description: Data Lake horizontal scaling request.
3128
+
required:
3129
+
- datalakeName
3130
+
- instanceGroupName
3131
+
- instanceGroupDesiredCount
3132
+
properties:
3133
+
datalakeName:
3134
+
type: string
3135
+
description: The name of the Data Lake
3136
+
instanceGroupName:
3137
+
type: string
3138
+
description: The target host group name to be scaled.
3139
+
enum:
3140
+
- solr_scale_out
3141
+
- hms_scale_out
3142
+
- raz_scale_out
3143
+
- kafka_scale_out
3144
+
- storage_scale_out
3145
+
instanceGroupDesiredCount:
3146
+
type: integer
3147
+
format: int32
3148
+
minimum: 0
3149
+
maximum: 40
3150
+
description: The target number of the scaling operation. If the desired count is less than the actual node count the scaling action will be a downscale operation.
3151
+
ScaleHorizontallyResponse:
3152
+
type: object
3153
+
description: Data Lake horizontal scaling response
0 commit comments