|
15 | 15 | exit 1 |
16 | 16 | fi |
17 | 17 |
|
| 18 | +echo "Waiting for node(s) to be ready..." |
| 19 | +kubectl wait node --all --for=condition=Ready --timeout=120s |
| 20 | + |
18 | 21 | cd "$(dirname "$0")" |
19 | 22 |
|
20 | 23 | case "$1" in |
@@ -48,6 +51,10 @@ exit 1 |
48 | 51 | ;; |
49 | 52 | esac |
50 | 53 |
|
| 54 | +# As of SDP 26.3 CRDs are managed by the operator not helm, so there should be an initial delay |
| 55 | +# to allow the CRDs to be detected |
| 56 | +sleep 10 |
| 57 | + |
51 | 58 | echo "Creating ZooKeeper cluster" |
52 | 59 | # tag::install-zk[] |
53 | 60 | kubectl apply -f zk.yaml |
|
90 | 97 |
|
91 | 98 | echo "Awaiting HDFS rollout finish" |
92 | 99 | # tag::watch-hdfs-rollout[] |
93 | | -kubectl rollout status --watch statefulset/simple-hdfs-datanode-default --timeout=300s |
94 | | -kubectl rollout status --watch statefulset/simple-hdfs-namenode-default --timeout=300s |
95 | | -kubectl rollout status --watch statefulset/simple-hdfs-journalnode-default --timeout=300s |
| 100 | +kubectl rollout status --watch statefulset/simple-hdfs-datanode-default --timeout=600s |
| 101 | +kubectl rollout status --watch statefulset/simple-hdfs-namenode-default --timeout=600s |
| 102 | +kubectl rollout status --watch statefulset/simple-hdfs-journalnode-default --timeout=600s |
96 | 103 | # end::watch-hdfs-rollout[] |
97 | 104 |
|
98 | 105 | sleep 5 |
|
114 | 121 |
|
115 | 122 | echo "Awaiting HBase rollout finish" |
116 | 123 | # tag::watch-hbase-rollout[] |
117 | | -kubectl rollout status --watch statefulset/simple-hbase-master-default --timeout=300s |
118 | | -kubectl rollout status --watch statefulset/simple-hbase-regionserver-default --timeout=300s |
119 | | -kubectl rollout status --watch statefulset/simple-hbase-restserver-default --timeout=300s |
| 124 | +kubectl rollout status --watch statefulset/simple-hbase-master-default --timeout=600s |
| 125 | +kubectl rollout status --watch statefulset/simple-hbase-regionserver-default --timeout=600s |
| 126 | +kubectl rollout status --watch statefulset/simple-hbase-restserver-default --timeout=600s |
120 | 127 | # end::watch-hbase-rollout[] |
121 | 128 |
|
122 | 129 | version() { |
@@ -191,6 +198,8 @@ tables_count=$(get_all | jq -r '.table' | jq '. | length') |
191 | 198 | # here, and error out if they don't match |
192 | 199 | expected_tables=$(echo " |
193 | 200 | SYSTEM.CATALOG |
| 201 | +SYSTEM.CDC_STREAM |
| 202 | +SYSTEM.CDC_STREAM_STATUS |
194 | 203 | SYSTEM.CHILD_LINK |
195 | 204 | SYSTEM.FUNCTION |
196 | 205 | SYSTEM.LOG |
|
0 commit comments