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

Josh Elser commented on PHOENIX-4449:
-------------------------------------

bq. I wonder if that would be a quick and dirty workaround for supporting the 
2.6 installations..

I think this is actually the easiest fix. Argparse 1.4.0 is compatible with 
Python 2.6 (2.3, 2.4, and 2.5, too) and from a licensing perspective 
https://www.apache.org/legal/resolved.html#category-a

If we add some indirection around our Python scripts (admittedly, which will be 
gross), we can update PYTHONPATH and use the local copy of the library when 
it's not available in the system.

> Incorrect behavior of sqlline after PHOENIX-3567
> ------------------------------------------------
>
>                 Key: PHOENIX-4449
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4449
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.10.0, 4.13.0, 5.0.0
>            Reporter: Sergey Soldatov
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: 5.0.0, 4.14.0
>
>
> In PHOENIX-3567 we have introduced a usage of argparse in sqlline as well as 
> some default values for the parameters. That's not good because of:
> 1. argparse is not a default package in old versions of python like 2.6.6 
> which is using in centos 6 distribution. 
> 2. We should not set a default value for zookeeper parent because if it's not 
> specified in the command line, those values should be obtained from hbase 
> client (hbase-site.xml or default values if it's not in the classpath).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to