-
Notifications
You must be signed in to change notification settings - Fork 0
/
hivems-hive-metastore-stateful.yaml
207 lines (207 loc) · 6.32 KB
/
hivems-hive-metastore-stateful.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: hivems-hive-metastore
namespace: hive-metastore
labels:
app.kubernetes.io/component: metastore
app.kubernetes.io/instance: hivems
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: hive-metastore
app.kubernetes.io/part-of: hive-metastore
app.kubernetes.io/version: 2.3.6
helm.sh/chart: hive-metastore-0.1.3
annotations:
meta.helm.sh/release-name: hivems
meta.helm.sh/release-namespace: hive-metastore
managedFields:
- manager: helm
operation: Update
apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:meta.helm.sh/release-name: {}
f:meta.helm.sh/release-namespace: {}
f:labels:
.: {}
f:app.kubernetes.io/component: {}
f:app.kubernetes.io/instance: {}
f:app.kubernetes.io/managed-by: {}
f:app.kubernetes.io/name: {}
f:app.kubernetes.io/part-of: {}
f:app.kubernetes.io/version: {}
f:helm.sh/chart: {}
f:spec:
f:persistentVolumeClaimRetentionPolicy:
.: {}
f:whenDeleted: {}
f:whenScaled: {}
f:podManagementPolicy: {}
f:revisionHistoryLimit: {}
f:selector: {}
f:serviceName: {}
f:template:
f:metadata:
f:labels:
.: {}
f:app.kubernetes.io/component: {}
f:app.kubernetes.io/instance: {}
f:app.kubernetes.io/name: {}
f:spec:
f:containers:
k:{"name":"metastore"}:
.: {}
f:imagePullPolicy: {}
f:name: {}
f:resources: {}
f:terminationMessagePath: {}
f:terminationMessagePolicy: {}
f:dnsPolicy: {}
f:restartPolicy: {}
f:schedulerName: {}
f:securityContext: {}
f:terminationGracePeriodSeconds: {}
f:volumes:
.: {}
k:{"name":"hive-config"}:
.: {}
f:configMap:
.: {}
f:defaultMode: {}
f:name: {}
f:name: {}
f:updateStrategy:
f:rollingUpdate:
.: {}
f:partition: {}
f:type: {}
- manager: dashboard
operation: Update
apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:spec:
f:template:
f:spec:
f:containers:
k:{"name":"metastore"}:
f:command: {}
f:image: {}
f:volumeMounts:
.: {}
k:{"mountPath":"/opt/hadoop-3.2.3/etc/hadoop"}:
.: {}
f:mountPath: {}
f:name: {}
k:{"mountPath":"/opt/hadoop-3.2.3/share/hadoop/hdfs/lib"}:
.: {}
f:mountPath: {}
f:name: {}
k:{"mountPath":"/opt/hive/conf"}:
.: {}
f:mountPath: {}
f:name: {}
f:volumes:
k:{"name":"hadoop-config"}:
.: {}
f:configMap:
.: {}
f:defaultMode: {}
f:name: {}
f:name: {}
k:{"name":"hostpath-volume"}:
.: {}
f:hostPath:
.: {}
f:path: {}
f:type: {}
f:name: {}
- manager: kube-controller-manager
operation: Update
apiVersion: apps/v1
time: '2024-03-05T14:16:32Z'
fieldsType: FieldsV1
fieldsV1:
f:status:
f:availableReplicas: {}
f:collisionCount: {}
f:currentReplicas: {}
f:currentRevision: {}
f:observedGeneration: {}
f:readyReplicas: {}
f:replicas: {}
f:updateRevision: {}
f:updatedReplicas: {}
subresource: status
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/component: metastore
app.kubernetes.io/instance: hivems
app.kubernetes.io/name: hive-metastore
template:
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: metastore
app.kubernetes.io/instance: hivems
app.kubernetes.io/name: hive-metastore
spec:
volumes:
- name: hive-config
configMap:
name: hivems-hive-metastore
defaultMode: 420
- name: hadoop-config
configMap:
name: hivems-hadoop-metastore
defaultMode: 420
containers:
- name: metastore
image: 5200710/hive:3.1.3-postgresql-metastore
command:
- /bin/sh
- '-c'
- >-
/opt/hive/bin/hive --service metastore --hiveconf
hive.root.logger=INFO,console & /opt/hive/bin/hive --service
hiveserver2 --hiveconf hive.server2.thrift.port=10000 --hiveconf
hive.root.logger=INFO,console
resources: {}
volumeMounts:
- name: hive-config
mountPath: /opt/hive/conf
- name: hadoop-config
mountPath: /opt/hadoop-3.2.3/etc/hadoop
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler
serviceName: hivems-hive-metastore
podManagementPolicy: OrderedReady
updateStrategy:
type: RollingUpdate
rollingUpdate:
partition: 0
revisionHistoryLimit: 10
persistentVolumeClaimRetentionPolicy:
whenDeleted: Retain
whenScaled: Retain
status:
observedGeneration: 24
replicas: 2
readyReplicas: 2
currentReplicas: 2
updatedReplicas: 2
currentRevision: hivems-hive-metastore-559fc4b46c
updateRevision: hivems-hive-metastore-559fc4b46c
collisionCount: 0
availableReplicas: 2