This is an automated email from the ASF dual-hosted git repository.

xtsong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new fb04fbd  [hotfix] Remove unnecessary logs to pass official image ci 
tests.
fb04fbd is described below

commit fb04fbd8471473ce33513f118df64f0daf759022
Author: Xintong Song <[email protected]>
AuthorDate: Wed Dec 23 14:46:02 2020 +0800

    [hotfix] Remove unnecessary logs to pass official image ci tests.
    
    This applies #51 to 1.12.0.
    
    This closes #52
---
 1.12/scala_2.11-java11-debian/docker-entrypoint.sh | 3 +--
 1.12/scala_2.11-java8-debian/docker-entrypoint.sh  | 3 +--
 1.12/scala_2.12-java11-debian/docker-entrypoint.sh | 3 +--
 1.12/scala_2.12-java8-debian/docker-entrypoint.sh  | 3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/1.12/scala_2.11-java11-debian/docker-entrypoint.sh 
b/1.12/scala_2.11-java11-debian/docker-entrypoint.sh
index a83e2a2..65f8fc8 100755
--- a/1.12/scala_2.11-java11-debian/docker-entrypoint.sh
+++ b/1.12/scala_2.11-java11-debian/docker-entrypoint.sh
@@ -102,7 +102,6 @@ disable_jemalloc_env() {
       echo "Disable Jemalloc as the memory allocator"
       _args=("${_args[@]:1}")
   else
-      echo "Enable Jemalloc as the memory allocator via appending env variable 
LD_PRELOAD with /usr/lib/x86_64-linux-gnu/libjemalloc.so"
       export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libjemalloc.so
   fi
 }
@@ -183,5 +182,5 @@ export _FLINK_HOME_DETERMINED=true
 . $FLINK_HOME/bin/config.sh
 export FLINK_CLASSPATH="`constructFlinkClassPath`:$INTERNAL_HADOOP_CLASSPATHS"
 
-echo "Running command in pass-through mode: ${args[@]}"
+# Running command in pass-through mode
 exec $(drop_privs_cmd) "${args[@]}"
diff --git a/1.12/scala_2.11-java8-debian/docker-entrypoint.sh 
b/1.12/scala_2.11-java8-debian/docker-entrypoint.sh
index a83e2a2..65f8fc8 100755
--- a/1.12/scala_2.11-java8-debian/docker-entrypoint.sh
+++ b/1.12/scala_2.11-java8-debian/docker-entrypoint.sh
@@ -102,7 +102,6 @@ disable_jemalloc_env() {
       echo "Disable Jemalloc as the memory allocator"
       _args=("${_args[@]:1}")
   else
-      echo "Enable Jemalloc as the memory allocator via appending env variable 
LD_PRELOAD with /usr/lib/x86_64-linux-gnu/libjemalloc.so"
       export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libjemalloc.so
   fi
 }
@@ -183,5 +182,5 @@ export _FLINK_HOME_DETERMINED=true
 . $FLINK_HOME/bin/config.sh
 export FLINK_CLASSPATH="`constructFlinkClassPath`:$INTERNAL_HADOOP_CLASSPATHS"
 
-echo "Running command in pass-through mode: ${args[@]}"
+# Running command in pass-through mode
 exec $(drop_privs_cmd) "${args[@]}"
diff --git a/1.12/scala_2.12-java11-debian/docker-entrypoint.sh 
b/1.12/scala_2.12-java11-debian/docker-entrypoint.sh
index a83e2a2..65f8fc8 100755
--- a/1.12/scala_2.12-java11-debian/docker-entrypoint.sh
+++ b/1.12/scala_2.12-java11-debian/docker-entrypoint.sh
@@ -102,7 +102,6 @@ disable_jemalloc_env() {
       echo "Disable Jemalloc as the memory allocator"
       _args=("${_args[@]:1}")
   else
-      echo "Enable Jemalloc as the memory allocator via appending env variable 
LD_PRELOAD with /usr/lib/x86_64-linux-gnu/libjemalloc.so"
       export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libjemalloc.so
   fi
 }
@@ -183,5 +182,5 @@ export _FLINK_HOME_DETERMINED=true
 . $FLINK_HOME/bin/config.sh
 export FLINK_CLASSPATH="`constructFlinkClassPath`:$INTERNAL_HADOOP_CLASSPATHS"
 
-echo "Running command in pass-through mode: ${args[@]}"
+# Running command in pass-through mode
 exec $(drop_privs_cmd) "${args[@]}"
diff --git a/1.12/scala_2.12-java8-debian/docker-entrypoint.sh 
b/1.12/scala_2.12-java8-debian/docker-entrypoint.sh
index a83e2a2..65f8fc8 100755
--- a/1.12/scala_2.12-java8-debian/docker-entrypoint.sh
+++ b/1.12/scala_2.12-java8-debian/docker-entrypoint.sh
@@ -102,7 +102,6 @@ disable_jemalloc_env() {
       echo "Disable Jemalloc as the memory allocator"
       _args=("${_args[@]:1}")
   else
-      echo "Enable Jemalloc as the memory allocator via appending env variable 
LD_PRELOAD with /usr/lib/x86_64-linux-gnu/libjemalloc.so"
       export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libjemalloc.so
   fi
 }
@@ -183,5 +182,5 @@ export _FLINK_HOME_DETERMINED=true
 . $FLINK_HOME/bin/config.sh
 export FLINK_CLASSPATH="`constructFlinkClassPath`:$INTERNAL_HADOOP_CLASSPATHS"
 
-echo "Running command in pass-through mode: ${args[@]}"
+# Running command in pass-through mode
 exec $(drop_privs_cmd) "${args[@]}"

Reply via email to