You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/10/16 02:05:33 UTC

[jira] [Updated] (PHOENIX-1355) sqlline.py or psql.py may hang if they're not invoked from bin folder

     [ https://issues.apache.org/jira/browse/PHOENIX-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeffrey Zhong updated PHOENIX-1355:
-----------------------------------
    Attachment: PHOENIX-1355.patch

Refactor the code a little bit and also allow psql & sqlline can use hbase-site.xml which is located in other folders.

> sqlline.py or psql.py may hang if they're not invoked from bin folder
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-1355
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1355
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>         Attachments: PHOENIX-1355.patch
>
>
> In the phoenix_utils.py, we have following code which searching for client jar. If a user invokes sqlline or psql from a root folder, this step will take a while.
> {code}
>   if phoenix_client_jar == "":
>     phoenix_client_jar = find("phoenix-*-client*", os.path.join(current_dir, ".."))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)