[
https://issues.apache.org/jira/browse/PHOENIX-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145136#comment-15145136
]
Josh Elser commented on PHOENIX-2659:
-------------------------------------
bq. is a similar fix required for our other bin/*.py scripts?
I don't think so. The rest of the scripts have the {{shell=True}} option to
{{subprocess.call(..)}} which, AFAIK, is what enabled the interpolation of the
variable in the command (and not being treated as a literal string).
> Minor Bugs in queryserver.py
> -----------------------------
>
> Key: PHOENIX-2659
> URL: https://issues.apache.org/jira/browse/PHOENIX-2659
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.7.0
> Reporter: Steve T
> Assignee: Josh Elser
> Priority: Minor
> Fix For: 4.7.0
>
> Attachments: PHOENIX-2659.patch
>
>
> After I installed
> https://dist.apache.org/repos/dist/dev/phoenix/phoenix-4.7.0-HBase-0.98-rc1/
> I had some trouble starting bin/queryserver.py
> I had to remove {color:blue}{{$PHOENIX_OPTS}}{color} from line 122 to prevent
> this error:
> {color:red}Error: Could not find or load main class $PHOENIX_OPTS{color}
> When I tried to run like
> {color:blue}{{./queryserver.py start
> -Dphoenix.queryserver.serialization=JSON}}{color}
> the {color:blue}{{-Dphoenix.queryserver.serialization=JSON}}{color} was being
> ignored. To fix, I changed {color:blue}{{args\[1:]}}{color} to
> {color:blue}{{args}}{color} in line 65.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)