Riza Suminto has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23416
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 fix the issue by changing the stderr write from using print() to os.write(). 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, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/16/23416/1 -- 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: newchange Gerrit-Change-Id: I5403c7b8126b1a35ea841496fdfb6eb93e83376e Gerrit-Change-Number: 23416 Gerrit-PatchSet: 1 Gerrit-Owner: Riza Suminto <[email protected]>
