This is an automated email from the ASF dual-hosted git repository. dianfu pushed a commit to branch release-1.13 in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.13 by this push: new 16fe5df [hotfix][python] Ignore the meaningless exception in PythonEnvUtils.getLibFiles 16fe5df is described below commit 16fe5df8dbdf874e2cb9ef0c236dfbe30ab16cdf Author: Dian Fu <dia...@apache.org> AuthorDate: Tue Aug 24 15:14:03 2021 +0800 [hotfix][python] Ignore the meaningless exception in PythonEnvUtils.getLibFiles --- .../src/main/java/org/apache/flink/client/python/PythonEnvUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flink-python/src/main/java/org/apache/flink/client/python/PythonEnvUtils.java b/flink-python/src/main/java/org/apache/flink/client/python/PythonEnvUtils.java index 912be98..f457af5 100644 --- a/flink-python/src/main/java/org/apache/flink/client/python/PythonEnvUtils.java +++ b/flink-python/src/main/java/org/apache/flink/client/python/PythonEnvUtils.java @@ -184,8 +184,8 @@ final class PythonEnvUtils { }; try { Files.walkFileTree(FileSystems.getDefault().getPath(libDir), finder); - } catch (IOException e) { - LOG.error("Gets pyflink dependent libs failed.", e); + } catch (Throwable t) { + // ignore, this may occur when executing `flink run` using the PyFlink Python package. } return libFiles; }