File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ timeout: 900
66apiVersion : apps/v1
77kind : StatefulSet
88metadata :
9- name : test-hive-metastore-automatic-log-config
9+ name : test-hive-metastore-automatic-log
1010status :
1111 readyReplicas : 1
1212 replicas : 1
1313---
1414apiVersion : apps/v1
1515kind : StatefulSet
1616metadata :
17- name : test-hive-metastore-custom-log-config
17+ name : test-hive-metastore-custom-log
1818status :
1919 readyReplicas : 1
2020 replicas : 1
Original file line number Diff line number Diff line change 5555 vectorAggregatorConfigMapName: hive-vector-aggregator-discovery
5656 metastore:
5757 roleGroups:
58- automatic-log-config :
58+ automatic-log:
5959 replicas: 1
6060 config:
6161 logging:
9090 - name: prepared-logs
9191 configMap:
9292 name: prepared-logs
93- custom-log-config :
93+ custom-log:
9494 replicas: 1
9595 config:
9696 logging:
Original file line number Diff line number Diff line change @@ -28,25 +28,25 @@ customConfig:
2828 type: filter
2929 inputs: [validEvents]
3030 condition: >-
31- .pod == "test-hive-metastore-automatic-log-config- 0" &&
31+ .pod == "test-hive-metastore-automatic-log-0" &&
3232 .container == "hive"
3333 filteredAutomaticLogConfigMetastoreVector:
3434 type: filter
3535 inputs: [validEvents]
3636 condition: >-
37- .pod == "test-hive-metastore-automatic-log-config- 0" &&
37+ .pod == "test-hive-metastore-automatic-log-0" &&
3838 .container == "vector"
3939 filteredCustomLogConfigMetastoreHive:
4040 type: filter
4141 inputs: [validEvents]
4242 condition: >-
43- .pod == "test-hive-metastore-custom-log-config- 0" &&
43+ .pod == "test-hive-metastore-custom-log-0" &&
4444 .container == "hive"
4545 filteredCustomLogConfigMetastoreVector:
4646 type: filter
4747 inputs: [validEvents]
4848 condition: >-
49- .pod == "test-hive-metastore-custom-log-config- 0" &&
49+ .pod == "test-hive-metastore-custom-log-0" &&
5050 .container == "vector"
5151 filteredInvalidEvents:
5252 type: filter
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ timeout: 900
66apiVersion: apps/v1
77kind: StatefulSet
88metadata:
9- name: hive-metastore-resources- from-role
9+ name: hive-metastore-from-role
1010spec:
1111 template:
1212 spec:
@@ -29,7 +29,7 @@ status:
2929apiVersion: apps/v1
3030kind: StatefulSet
3131metadata:
32- name: hive-metastore-resources- from-role-group
32+ name: hive-metastore-from-role-group
3333spec:
3434 template:
3535 spec:
@@ -52,7 +52,7 @@ status:
5252apiVersion: apps/v1
5353kind: StatefulSet
5454metadata:
55- name: hive-metastore-resources-from- pod-overrides
55+ name: hive-metastore-pod-overrides
5656spec:
5757 template:
5858 spec:
Original file line number Diff line number Diff line change 2929 memory:
3030 limit: 4Gi
3131 roleGroups:
32- resources- from-role:
32+ from-role:
3333 replicas: 1
34- resources- from-role-group:
34+ from-role-group:
3535 replicas: 1
3636 config:
3737 resources:
4040 max: "3"
4141 memory:
4242 limit: 3Gi
43- resources-from- pod-overrides:
43+ pod-overrides:
4444 podOverrides:
4545 spec:
4646 containers:
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ apiVersion: kuttl.dev/v1beta1
33kind : TestAssert
44timeout : 600
55commands :
6- - script : kubectl -n "$NAMESPACE" get sts hive-metastore-resources- from-role -o yaml | yq -e '.spec.template.spec.containers[] | select (.name == "hive") | .env[] | select (.name == "HADOOP_HEAPSIZE" and .value == "3276")'
7- - script : kubectl -n "$NAMESPACE" get sts hive-metastore-resources- from-role-group -o yaml | yq -e '.spec.template.spec.containers[] | select (.name == "hive") | .env[] | select (.name == "HADOOP_HEAPSIZE" and .value == "2457")'
6+ - script : kubectl -n "$NAMESPACE" get sts hive-metastore-from-role -o yaml | yq -e '.spec.template.spec.containers[] | select (.name == "hive") | .env[] | select (.name == "HADOOP_HEAPSIZE" and .value == "3276")'
7+ - script : kubectl -n "$NAMESPACE" get sts hive-metastore-from-role-group -o yaml | yq -e '.spec.template.spec.containers[] | select (.name == "hive") | .env[] | select (.name == "HADOOP_HEAPSIZE" and .value == "2457")'
You can’t perform that action at this time.
0 commit comments