phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Belousov <sergey.belou...@gmail.com>
Subject Re: Issue with running sqlline (phoenix 4.4 RC0)
Date Tue, 05 May 2015 22:39:01 GMT
Thank you Nick
I would not even call what we have packaging :)

So what would be proper out of box folder structure for phoenix 4.4 client
with sqlline ?

we also switched to HDP 2.2 distribution if that make any difference
(hopefully not)

thank you
S
On May 5, 2015 5:00 PM, "Nick Dimiduk" <ndimiduk@gmail.com> wrote:

> Hi Sergey,
>
> Nice find. I left a comment over on PHOENIX-1904. From my point of view,
> this is a bug raised by your custom packaging and not bad enough to sink
> the RC -- i.e., the RC should still work "out of the box". Should
> definitely file a ticket to make the launch scripts more robust in the
> future though!
>
> Thanks for spinning the bits.
> -n
>
> On Tue, May 5, 2015 at 12:39 PM, Sergey Belousov <
> sergey.belousov@gmail.com>
> wrote:
>
> > Hello All
> >
> > I was trying 4.4  and came across following issue
> >
> > We had phoenix-client folder with phoenix-*-client.jar and /bin folder
> > under.
> > Than we used sqlline.py to run our schema creation scripts.
> > After I updated bin folder from 4.4 and phoenix client with
> > phoenix-4.4.0-HBase-0.98-client.jar when I try to run sqlline.py
> script.sql
> > I am getting following errors:
> >
> > Applying _phoenixschema/001_.sql
> > Traceback (most recent call last):
> >   File "phoenix-client/bin/psql.py", line 27, in <module>
> >     phoenix_utils.setPath()
> >   File "---/phoenix-client/bin/phoenix_utils.py", line 94, in setPath
> >     phoenix_queryserver_jar = findFileInPathWithoutRecursion
> > (PHOENIX_QUERYSERVER_JAR_PATTERN, os.path.join(current_dir, "..", "lib"))
> >   File "---/phoenix-client/bin/phoenix_utils.py", line 45, in
> > findFileInPathWithoutRecursion
> >     files = [f for f in os.listdir(path) if os.path.isfile(os.path.join(
> > path,f))]
> > OSError: [Errno 2] No such file or directory: '---/phoenix-client/bin/../
> > lib'
> > {noformat}
> >
> >
> > Do I miss missing something (probably) ?
> > What is the upgrade path from 4.3 to 4.4
> > Do I need to deploy phoenix-server-4.4.0-HBase-0.98-runnable.jar  on
> server
> > side even if I do not use query server yet ?
> >
> > I guess it related to https://issues.apache.org/jira/browse/PHOENIX-1904
> >
> > I do not want to send it to phoenix 4.4 RC0 VOTE thread in a hope it not
> > problem with release by my hands :)
> >
> > Thank you,
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message