You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2020/04/01 13:23:36 UTC
[flink] branch master updated (41724c7 -> 4412c6e)
This is an automated email from the ASF dual-hosted git repository.
aljoscha pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git.
from 41724c7 [FLINK-16674][python][docs] Add documentation about how to use user-defined metrics for Python UDF (#11576)
new eb12141 [FLINK-14311] Relax restart checker to harden StreamingFileSink e2e test
new 4412c6e [minor] Add debug logging if aws cli command fails
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
flink-end-to-end-tests/test-scripts/common.sh | 3 ++-
flink-end-to-end-tests/test-scripts/common_s3_operations.sh | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
[flink] 02/02: [minor] Add debug logging if aws cli command fails
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aljoscha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 4412c6ef4fbb208cba6e44e7a90fdfe1e07bf727
Author: Aljoscha Krettek <al...@apache.org>
AuthorDate: Wed Apr 1 13:36:24 2020 +0200
[minor] Add debug logging if aws cli command fails
The motivation is to help debugging FLINK-15772.
---
flink-end-to-end-tests/test-scripts/common_s3_operations.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/flink-end-to-end-tests/test-scripts/common_s3_operations.sh b/flink-end-to-end-tests/test-scripts/common_s3_operations.sh
index ad4f996..eae745b 100644
--- a/flink-end-to-end-tests/test-scripts/common_s3_operations.sh
+++ b/flink-end-to-end-tests/test-scripts/common_s3_operations.sh
@@ -71,7 +71,9 @@ function aws_cli() {
if [[ $S3_ENDPOINT ]]; then
endpoint="--endpoint-url $S3_ENDPOINT"
fi
- docker exec "$AWSCLI_CONTAINER_ID" aws $endpoint "$@"
+ if ! docker exec "$AWSCLI_CONTAINER_ID" aws $endpoint "$@"; then
+ echo "Error executing aws command: $@";
+ fi
}
###################################
[flink] 01/02: [FLINK-14311] Relax restart checker to harden
StreamingFileSink e2e test
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aljoscha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit eb12141c25498610a2326dac6409a16246a9d5e3
Author: Aljoscha Krettek <al...@apache.org>
AuthorDate: Wed Apr 1 13:01:47 2020 +0200
[FLINK-14311] Relax restart checker to harden StreamingFileSink e2e test
Before, we were checking for an exact number of restarts, this is too
strict, because we could have more than the expected number of restarts.
Now we check whether we have gte the number of expected restarts.
---
flink-end-to-end-tests/test-scripts/common.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/flink-end-to-end-tests/test-scripts/common.sh b/flink-end-to-end-tests/test-scripts/common.sh
index dc4fc7b..44ce92f 100644
--- a/flink-end-to-end-tests/test-scripts/common.sh
+++ b/flink-end-to-end-tests/test-scripts/common.sh
@@ -731,7 +731,8 @@ function wait_for_restart_to_complete {
local expected_num_restarts=$((current_num_restarts + 1))
echo "Waiting for restart to happen"
- while ! [[ ${current_num_restarts} -eq ${expected_num_restarts} ]]; do
+ while [[ ${current_num_restarts} -lt ${expected_num_restarts} ]]; do
+ echo "Still waiting for restarts. Expected: $expected_num_restarts Current: $current_num_restarts"
sleep 5
current_num_restarts=$(get_job_metric ${jobid} "fullRestarts")
if [[ -z ${current_num_restarts} ]]; then