[
https://issues.apache.org/jira/browse/PHOENIX-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498615#comment-14498615
]
ASF GitHub Bot commented on PHOENIX-1733:
-----------------------------------------
GitHub user abisek opened a pull request:
https://github.com/apache/phoenix/pull/69
PHOENIX-1733: sqlline.py doesn't allow connecting with a tenant-specific...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/abisek/phoenix 4.x-HBase-0.98
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/69.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #69
----
commit 285abcc731806cd0cabf8df0f2d3a9d3379a17d7
Author: Abhishek Sreenivasa <[email protected]>
Date: 2015-04-16T19:57:26Z
PHOENIX-1733: sqlline.py doesn't allow connecting with a tenant-specific
connection
----
> sqlline.py doesn't allow connecting with a tenant-specific connection
> ---------------------------------------------------------------------
>
> Key: PHOENIX-1733
> URL: https://issues.apache.org/jira/browse/PHOENIX-1733
> Project: Phoenix
> Issue Type: Bug
> Reporter: Gabriel Reid
> Assignee: Abhishek Sreenivasa
> Labels: Newbie
>
> Connecting with a client-specific connection via sqlline.py should work with
> a command like the following:
> {code}
> ./bin/sqlline.py 'localhost:2181;TenantId=t1'
> {code}
> However, the command that is built up within sqlline.py doesn't correctly
> quote the JDBC url, so the JDBC url parameter ends up as:
> {code}
> jdbc:phoenix:localhost:2181;TenantId=t1
> {code}
> without quoting. This causes the semicolon to be interpreted as a command
> separator by the shell, effectively ignoring it (and any other parameters).
> Proper parameter quoting (as done with the pipes module in psql.py) should be
> used for sqlline.py to get around this and similar issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)