Hello Daniel Vanko, Csaba Ringhofer, Noemi Pap-Takacs, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23416

to look at the new patch set (#3).

Change subject: IMPALA-14426: Deflake TestImpalaShell.test_cancellation
......................................................................

IMPALA-14426: Deflake TestImpalaShell.test_cancellation

TestImpalaShell.test_cancellation start failing when run with Python 3.9
with following error message

RuntimeError: reentrant call inside <_io.BufferedWriter name='<stderr>'>

This patch is a quick ix the by changing the stderr write from using
print() to os.write(). Note that the thread-safetyness isssue within
_signal_handler in impala_shell.py during query cancellation still
remains.

Testing:
Run and pass test_cancellation in RHEL9 with Python 3.9.

Change-Id: I5403c7b8126b1a35ea841496fdfb6eb93e83376e
---
M shell/impala_shell/impala_shell.py
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/16/23416/3
-- 
To view, visit http://gerrit.cloudera.org:8080/23416
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5403c7b8126b1a35ea841496fdfb6eb93e83376e
Gerrit-Change-Number: 23416
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com>
Gerrit-Reviewer: Daniel Vanko <dva...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <npaptak...@cloudera.com>
Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>

Reply via email to