tillrohrmann commented on a change in pull request #10668: [hotfix] Align the 
parameter pattern of retry_times with retry_times_…
URL: https://github.com/apache/flink/pull/10668#discussion_r366988210
 
 

 ##########
 File path: flink-end-to-end-tests/test-scripts/common_yarn_docker.sh
 ##########
 @@ -91,17 +91,19 @@ function start_hadoop_cluster() {
 
 function build_image() {
     echo "Building Hadoop Docker container"
-    if ! retry_times $IMAGE_BUILD_RETRIES 2 docker build --build-arg 
HADOOP_VERSION=2.8.4 \
+    if ! docker build --build-arg HADOOP_VERSION=2.8.4 \
         -f 
$END_TO_END_DIR/test-scripts/docker-hadoop-secure-cluster/Dockerfile \
         -t flink/docker-hadoop-secure-cluster:latest \
         $END_TO_END_DIR/test-scripts/docker-hadoop-secure-cluster/; then
-        echo "ERROR: Could not build hadoop image. Aborting..."
-        exit 1
+        return 1
 
 Review comment:
   Same here with the if block.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to