Skip to content

Commit

Permalink
[hotfix] Remove unnecessary logs to pass official image ci tests.
Browse files Browse the repository at this point in the history
This applies apache#51 to 1.12.0.

This closes apache#52
  • Loading branch information
xintongsong committed Dec 23, 2020
1 parent 286de79 commit fb04fbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions 1.12/scala_2.11-java11-debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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[@]}"
3 changes: 1 addition & 2 deletions 1.12/scala_2.11-java8-debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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[@]}"
3 changes: 1 addition & 2 deletions 1.12/scala_2.12-java11-debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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[@]}"
3 changes: 1 addition & 2 deletions 1.12/scala_2.12-java8-debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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[@]}"

0 comments on commit fb04fbd

Please sign in to comment.