You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jingtao Wu (Jira)" <ji...@apache.org> on 2020/06/16 02:27:00 UTC
[jira] [Updated] (PHOENIX-5959) python scripts not working for
phoenix-queryserver
[ https://issues.apache.org/jira/browse/PHOENIX-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingtao Wu updated PHOENIX-5959:
--------------------------------
Description:
queryserver.py currently cannot properly start queryserver for following two reasons.
After phoenix-queryserver is taken out from phoenix, thin client jar and queryserver jar have been renamed from phoenix-*thin-client.jar/phoenix*queryserver.jar to queryserver-client*SNAPSHOT.jar/queryserver*.jar, but phoenix_utils.py is still looking for the old jar files.
Also queryserver-1.0.0-SNAPSHOT.jar probably does not contains all the dependency to start queryserver. I ran into a NoClassDefFoundError after I corrected the jar file names in phoenix_util.py. I had to modify the pom file to package all dependencies into the jar file in order to start queryserver properly.
was:
queryserver.py currently cannot properly start queryserver for following two reasons.
After phoenix-queryserver is taken out from phoenix, thin client jar and queryserver jar have been renamed from phoenix-*-thin-client.jar/phoenix-*-queryserver.jar to queryserver-client-*-SNAPSHOT.jar/queryserver-*.jar, but phoenix_utils.py is still looking for the old jar files.
Also queryserver-1.0.0-SNAPSHOT.jar probably does not contains all the dependency to start queryserver. I ran into a NoClassDefFoundError after I corrected the jar file names in phoenix_util.py. I had to modify the pom file to package all dependencies into the jar file in order to start queryserver properly.
> python scripts not working for phoenix-queryserver
> --------------------------------------------------
>
> Key: PHOENIX-5959
> URL: https://issues.apache.org/jira/browse/PHOENIX-5959
> Project: Phoenix
> Issue Type: Bug
> Components: queryserver
> Affects Versions: queryserver-1.0.0
> Reporter: Jingtao Wu
> Priority: Major
>
> queryserver.py currently cannot properly start queryserver for following two reasons.
> After phoenix-queryserver is taken out from phoenix, thin client jar and queryserver jar have been renamed from phoenix-*thin-client.jar/phoenix*queryserver.jar to queryserver-client*SNAPSHOT.jar/queryserver*.jar, but phoenix_utils.py is still looking for the old jar files.
> Also queryserver-1.0.0-SNAPSHOT.jar probably does not contains all the dependency to start queryserver. I ran into a NoClassDefFoundError after I corrected the jar file names in phoenix_util.py. I had to modify the pom file to package all dependencies into the jar file in order to start queryserver properly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)