phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Belousov <sergey.belou...@gmail.com>
Subject Issue with running sqlline (phoenix 4.4 RC0)
Date Tue, 05 May 2015 19:39:40 GMT
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