[ 
https://issues.apache.org/jira/browse/FLINK-30630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753956#comment-17753956
 ] 

Matthias Pohl commented on FLINK-30630:
---------------------------------------

Looks like that issue is caused by the Java side not sending the expected 
responses to Python:
{code}
2023-01-11T04:51:52.1315205Z Jan 11 04:51:52 ERROR    
py4j.java_gateway:java_gateway.py:1143 An error occurred while trying to 
connect to the Java server (127.0.0.1:45019)
2023-01-11T04:51:52.1315757Z Jan 11 04:51:52 Traceback (most recent call last):
2023-01-11T04:51:52.1316341Z Jan 11 04:51:52   File 
"/__w/1/s/flink-python/pyflink/util/exceptions.py", line 146, in deco
2023-01-11T04:51:52.1316730Z Jan 11 04:51:52     return f(*a, **kw)
2023-01-11T04:51:52.1317400Z Jan 11 04:51:52   File 
"/__w/1/s/flink-python/.tox/py38-cython/lib/python3.8/site-packages/py4j/protocol.py",
 line 326, in get_return_value
2023-01-11T04:51:52.1317878Z Jan 11 04:51:52     raise Py4JJavaError(
2023-01-11T04:51:52.1318254Z Jan 11 04:51:52 py4j.protocol.Py4JJavaError: 
<exception str() failed>
2023-01-11T04:51:52.1318591Z Jan 11 04:51:52 
2023-01-11T04:51:52.1318939Z Jan 11 04:51:52 During handling of the above 
exception, another exception occurred:
2023-01-11T04:51:52.1319290Z Jan 11 04:51:52 
2023-01-11T04:51:52.1319598Z Jan 11 04:51:52 Traceback (most recent call last):
2023-01-11T04:51:52.1320289Z Jan 11 04:51:52   File 
"/__w/1/s/flink-python/.tox/py38-cython/lib/python3.8/site-packages/py4j/java_gateway.py",
 line 1224, in send_command
2023-01-11T04:51:52.1320815Z Jan 11 04:51:52     raise Py4JNetworkError("Answer 
from Java side is empty")
2023-01-11T04:51:52.1321252Z Jan 11 04:51:52 py4j.protocol.Py4JNetworkError: 
Answer from Java side is empty
2023-01-11T04:51:52.1321590Z Jan 11 04:51:52 
2023-01-11T04:51:52.1321941Z Jan 11 04:51:52 During handling of the above 
exception, another exception occurred:
2023-01-11T04:51:52.1322646Z Jan 11 04:51:52 
2023-01-11T04:51:52.1322961Z Jan 11 04:51:52 Traceback (most recent call last):
2023-01-11T04:51:52.1323669Z Jan 11 04:51:52   File 
"/__w/1/s/flink-python/.tox/py38-cython/lib/python3.8/site-packages/py4j/java_gateway.py",
 line 1038, in send_command
2023-01-11T04:51:52.1324172Z Jan 11 04:51:52     response = 
connection.send_command(command)
2023-01-11T04:51:52.1324872Z Jan 11 04:51:52   File 
"/__w/1/s/flink-python/.tox/py38-cython/lib/python3.8/site-packages/py4j/java_gateway.py",
 line 1228, in send_command
2023-01-11T04:51:52.1325364Z Jan 11 04:51:52     raise Py4JNetworkError(
2023-01-11T04:51:52.1325746Z Jan 11 04:51:52 py4j.protocol.Py4JNetworkError: 
Error while receiving
2023-01-11T04:51:52.1326088Z Jan 11 04:51:52 
2023-01-11T04:51:52.1326441Z Jan 11 04:51:52 During handling of the above 
exception, another exception occurred:
2023-01-11T04:51:52.1326783Z Jan 11 04:51:52 
2023-01-11T04:51:52.1327089Z Jan 11 04:51:52 Traceback (most recent call last):
2023-01-11T04:51:52.1327777Z Jan 11 04:51:52   File 
"/__w/1/s/flink-python/.tox/py38-cython/lib/python3.8/site-packages/py4j/java_gateway.py",
 line 1224, in send_command
2023-01-11T04:51:52.1328307Z Jan 11 04:51:52     raise Py4JNetworkError("Answer 
from Java side is empty")
2023-01-11T04:51:52.1328746Z Jan 11 04:51:52 py4j.protocol.Py4JNetworkError: 
Answer from Java side is empty
{code}

I'm not an expert in this field. But we could consider closing this issue if 
the problem didn't appear again?

> Python: BatchModeDataStreamTests.test_keyed_map failed
> ------------------------------------------------------
>
>                 Key: FLINK-30630
>                 URL: https://issues.apache.org/jira/browse/FLINK-30630
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.15.3
>            Reporter: Matthias Pohl
>            Priority: Critical
>              Labels: stale-critical, test-stability
>
> {{BatchModeDataStreamTests.test_keyed_map}} failed in 1.15:
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=44691&view=logs&j=821b528f-1eed-5598-a3b4-7f748b13f261&t=6bb545dd-772d-5d8c-f258-f5085fba3295



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to