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

Xu Jia Yao commented on PHOENIX-6762:
-------------------------------------

And as resolution, I move this line in queryserver/bin/daemon.py:730
{code:java}
file_socket = socket.fromfd(fd, socket.AF_INET, socket.SOCK_RAW) {code}
into the try-except struct below(line 732), then it can run normally.

> Phoenix QueryServer cannot run correctly with python3
> -----------------------------------------------------
>
>                 Key: PHOENIX-6762
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6762
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>    Affects Versions: queryserver-6.0.0
>         Environment: Linux Ubuntu 22.04 with Python 3.10
>            Reporter: Xu Jia Yao
>            Priority: Trivial
>
> When running "./queryserver start" command with python3, such an error will 
> raise:
> {code:java}
> OSError: [Errno 88]Socket operation on non-socket{code}



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

Reply via email to