[
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)