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




Reply via email to