File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed
docs/modules/hdfs/examples/getting_started Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
16
16
- Use new label builders ([ #454 ] ).
17
17
- Change the liveness probes to use the web UI port and to fail after
18
18
one minute ([ #491 ] ).
19
+ - Update the getting started script to use the listener class cluster-internal ([ #492 ] )
19
20
20
21
### Removed
21
22
@@ -38,6 +39,7 @@ All notable changes to this project will be documented in this file.
38
39
[ #474 ] : https://github.com/stackabletech/hdfs-operator/pull/474
39
40
[ #475 ] : https://github.com/stackabletech/hdfs-operator/pull/475
40
41
[ #491 ] : https://github.com/stackabletech/hdfs-operator/pull/491
42
+ [ #492 ] : https://github.com/stackabletech/hdfs-operator/pull/492
41
43
42
44
## [ 23.11.0] - 2023-11-24
43
45
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ kubectl rollout status --watch --timeout=5m statefulset/webhdfs
121
121
122
122
file_status () {
123
123
# tag::file-status[]
124
- kubectl exec -n default webhdfs-0 -- curl -s -XGET " http://simple-hdfs-namenode-default-0:9870/webhdfs/v1/?op=LISTSTATUS"
124
+ kubectl exec -n default webhdfs-0 -- curl -s -XGET " http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local :9870/webhdfs/v1/?op=LISTSTATUS"
125
125
# end::file-status[]
126
126
}
127
127
@@ -143,7 +143,7 @@ kubectl cp -n default ./testdata.txt webhdfs-0:/tmp
143
143
create_file () {
144
144
# tag::create-file[]
145
145
kubectl exec -n default webhdfs-0 -- \
146
- curl -s -XPUT -T /tmp/testdata.txt " http://simple-hdfs-namenode-default-0:9870/webhdfs/v1/testdata.txt?user.name=stackable&op=CREATE&noredirect=true"
146
+ curl -s -XPUT -T /tmp/testdata.txt " http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local :9870/webhdfs/v1/testdata.txt?user.name=stackable&op=CREATE&noredirect=true"
147
147
# end::create-file[]
148
148
}
149
149
@@ -162,7 +162,7 @@ echo "Created file: $found_file with status $(file_status)"
162
162
echo " Delete file"
163
163
delete_file () {
164
164
# tag::delete-file[]
165
- kubectl exec -n default webhdfs-0 -- curl -s -XDELETE " http://simple-hdfs-namenode-default-0:9870/webhdfs/v1/testdata.txt?user.name=stackable&op=DELETE"
165
+ kubectl exec -n default webhdfs-0 -- curl -s -XDELETE " http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local :9870/webhdfs/v1/testdata.txt?user.name=stackable&op=DELETE"
166
166
# end::delete-file[]
167
167
}
168
168
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ kubectl rollout status --watch --timeout=5m statefulset/webhdfs
121
121
122
122
file_status () {
123
123
# tag::file-status[]
124
- kubectl exec -n default webhdfs-0 -- curl -s -XGET " http://simple-hdfs-namenode-default-0:9870/webhdfs/v1/?op=LISTSTATUS"
124
+ kubectl exec -n default webhdfs-0 -- curl -s -XGET " http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local :9870/webhdfs/v1/?op=LISTSTATUS"
125
125
# end::file-status[]
126
126
}
127
127
@@ -143,7 +143,7 @@ kubectl cp -n default ./testdata.txt webhdfs-0:/tmp
143
143
create_file () {
144
144
# tag::create-file[]
145
145
kubectl exec -n default webhdfs-0 -- \
146
- curl -s -XPUT -T /tmp/testdata.txt " http://simple-hdfs-namenode-default-0:9870/webhdfs/v1/testdata.txt?user.name=stackable&op=CREATE&noredirect=true"
146
+ curl -s -XPUT -T /tmp/testdata.txt " http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local :9870/webhdfs/v1/testdata.txt?user.name=stackable&op=CREATE&noredirect=true"
147
147
# end::create-file[]
148
148
}
149
149
@@ -162,7 +162,7 @@ echo "Created file: $found_file with status $(file_status)"
162
162
echo " Delete file"
163
163
delete_file () {
164
164
# tag::delete-file[]
165
- kubectl exec -n default webhdfs-0 -- curl -s -XDELETE " http://simple-hdfs-namenode-default-0:9870/webhdfs/v1/testdata.txt?user.name=stackable&op=DELETE"
165
+ kubectl exec -n default webhdfs-0 -- curl -s -XDELETE " http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local :9870/webhdfs/v1/testdata.txt?user.name=stackable&op=DELETE"
166
166
# end::delete-file[]
167
167
}
168
168
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ spec:
11
11
dfsReplication : 1
12
12
nameNodes :
13
13
config :
14
- listenerClass : external-stable
14
+ listenerClass : cluster-internal
15
15
roleGroups :
16
16
default :
17
17
replicas : 2
18
18
dataNodes :
19
19
config :
20
- listenerClass : external-unstable
20
+ listenerClass : cluster-internal
21
21
roleGroups :
22
22
default :
23
23
replicas : 1
You can’t perform that action at this time.
0 commit comments