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

Istvan Toth commented on PHOENIX-5831:
--------------------------------------

This still had the same decode() problem as the core patch.

I believe that my ugly hack tryDecode() will solve this, I've tested it with 
2.7, and 3.6 on real cluster node, and it seems to work.

The patch is huge, because I've added argparse.py, which was missing from 
queryserver, even though it is referred in the code. I didn't test if it 
actually works with <2.7 , but at least it's consistent with core now.

 

> Make Phoenix queryserver scripts work with Python 3
> ---------------------------------------------------
>
>                 Key: PHOENIX-5831
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5831
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>    Affects Versions: queryserver-1.0.0
>            Reporter: Richard Antal
>            Assignee: Richard Antal
>            Priority: Critical
>             Fix For: queryserver-1.0.0
>
>         Attachments: PHOENIX-5831.master.v1.patch, 
> PHOENIX-5831.master.v2.patch, PHOENIX-5831.master.v3.patch, 
> PHOENIX-5831.master.v4.patch, PHOENIX-5831.master.v5.patch, 
> PHOENIX-5831.master.v6.patch, PHOENIX-5831.master.v7.patch
>
>
> Python 2 is being retired in some environments now. We should make sure that 
> the Phoenix queryserver scripts work with Python 2 and 3.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to