Skip to content

Commit ead673f

Browse files
committed
Update benchmark to use nested folder
1 parent 2caf1cd commit ead673f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/stack/20-hdfs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ spec:
5151
level: INFO
5252
tech.stackable.hadoop:
5353
level: DEBUG
54+
# configOverrides:
55+
# hdfs-site.xml:
56+
# hadoop.security.authorization.opa.extended-requests: "true"
5457
roleGroups:
5558
default:
5659
replicas: 2

test/stack/31-benchmark-shell.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@ spec:
2727
2828
log_in admin
2929
30-
bin/hdfs dfs -mkdir -p /bench
31-
bin/hdfs dfs -ls /bench
30+
bin/hdfs dfs -mkdir -p /bench/deep/path/with/many/sub/sub/dirs/
3231
33-
# for i in $(seq 0 10); do echo "Creating $i" && bin/hdfs dfs -put -f /etc/hosts /bench/$i; done
32+
# for i in $(seq 0 100); do echo "Creating $i" && bin/hdfs dfs -put -f /etc/hosts /bench/deep/path/with/many/sub/sub/dirs/$i; done
3433
3534
# Watch out for the exact command you are using! (e.g. don't use "du -h /""). Checl the NameNode logs to
3635
# make sure you actually produce enough OPA calls.
37-
# time bin/hdfs dfs -du -h /bench
36+
# time bin/hdfs dfs -du -h /bench/deep/path/with/many/sub/sub/dirs
3837
3938
# So that you can run the benchmark manually
4039
sleep infinity

0 commit comments

Comments
 (0)