[
https://issues.apache.org/jira/browse/FLINK-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116789#comment-17116789
]
Dian Fu commented on FLINK-17945:
---------------------------------
[~rmetzger] Thanks for reporting this problem.
I think this is a meaningful problem and it's doable. Currently there is
already an exception hook in exceptions.install_exception_handler and we just
need to catch these kinds of errors and providing a meaningful error message.
cc [~zhongwei]
> Improve error reporting of Python CI tests
> ------------------------------------------
>
> Key: FLINK-17945
> URL: https://issues.apache.org/jira/browse/FLINK-17945
> Project: Flink
> Issue Type: Improvement
> Components: API / Python, Tests
> Reporter: Robert Metzger
> Priority: Major
>
> While working on some changes, I noticed that the error reporting of the
> Python tests is sometimes not very detailed.
> Example:
> {code}
> > self._j_elasticsearch = gateway.jvm.Elasticsearch()
> E TypeError: 'JavaPackage' object is not callable
> {code}
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=8081&view=logs&j=584fa981-f71a-5840-1c49-f800c954fe4b&t=532bf1f8-8c75-59c3-eaad-8c773769bc3a
> The probably root cause is that required JAR files are missing. It would be
> nice if the tests would show the underlying (java)Flink error / Flink logs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)