This is an automated email from the ASF dual-hosted git repository.
gjahad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 58a4da123f HDDS-9027. Error creating stack dump in S3 HA environment
(#5077)
58a4da123f is described below
commit 58a4da123f65b855f0c63821c73b1d957c8e3628
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Aug 2 05:10:01 2023 +0200
HDDS-9027. Error creating stack dump in S3 HA environment (#5077)
---
hadoop-ozone/dist/src/main/compose/testlib.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-ozone/dist/src/main/compose/testlib.sh
b/hadoop-ozone/dist/src/main/compose/testlib.sh
index d5132602d8..a7cd55ebed 100755
--- a/hadoop-ozone/dist/src/main/compose/testlib.sh
+++ b/hadoop-ozone/dist/src/main/compose/testlib.sh
@@ -216,7 +216,7 @@ create_stack_dumps() {
while read -r pid procname; do
echo "jstack $pid > ${RESULT_DIR}/${c}_${procname}.stack"
docker exec "${c}" bash -c "jstack $pid" >
"${RESULT_DIR}/${c}_${procname}.stack"
- done < <(docker exec "${c}" bash -c "jps | grep -v Jps")
+ done < <(docker exec "${c}" sh -c "jps | grep -v Jps" || true)
done
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]