The PQS assembly / binary distribution does not include the Phoenix thick
client JAR.

You need to either rebuild it, and specify the phoenix-client version to
include in the assembly as described in BUILDING.md,
or copy the phoenix-client.jar into the PQS installation directory.


On Mon, Jul 26, 2021 at 9:53 AM York, Zach <[email protected]> wrote:

> I was trying to test out the queryserver package, but any time I try to
> use queryserver.py start after building, I get the following exception:
>
> starting Query Server, logging to
> /var/log/phoenix/phoenix-phoenix-queryserver.log
> 2021-07-24 06:52:32.329368 launching /etc/alternatives/jre/bin/java -cp
> /etc/hbase/conf/:/etc/hadoop/conf:/usr/lib/phoenix-queryserver/bin/../phoenix-queryserver-client.jar:/usr/lib/phoenix-queryserver/bin/../phoenix-queryserver-6.0.0.jar:
> -Dproc_phoenixserver
> -Dlog4j.configuration=file:/usr/lib/phoenix-queryserver/bin/log4j.properties
> -Dpsql.root.logger=INFO,DRFA -Dpsql.log.dir=/var/log/phoenix
> -Dpsql.log.file=phoenix-phoenix-queryserver.log
> -Dpsql.log.dir=/var/log/phoenix -Dpsql.log.file=phoenix-queryserver.log
> org.apache.phoenix.queryserver.server.QueryServer
> close failed in file object destructor:
> IOError: [Errno 9] Bad file descriptor
> Error: Could not find or load main class
> org.apache.phoenix.queryserver.server.QueryServer
>
> The jars appear to be correctly on the classpath and I see the class
> inside of the jar, but I can't get it to load. Am I doing something wrong
> or is there some issue?
>
> Thanks,
> Zach
>
>
>
>
>

-- 
*István Tóth* | Staff Software Engineer
[email protected] <https://www.cloudera.com>
[image: Cloudera] <https://www.cloudera.com/>
[image: Cloudera on Twitter] <https://twitter.com/cloudera> [image:
Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera
on LinkedIn] <https://www.linkedin.com/company/cloudera>
<https://www.cloudera.com/>
------------------------------

Reply via email to