Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Not able to start Phoenix tracing web application

Not able to start Phoenix tracing web application

New Contributor

Hi,

I am not able to start phoenix traceserver in HDP 2.6, its failing with the below error.

2017-05-05 21:12:46.775762 launching /usr/java/default/bin/java $PHOENIX_OPTS -cp /etc/hbase/conf::/usr/hdp/2.6.0.3-8/phoenix/bin/../phoenix-4.7.0.2.6.0.3-8-client.jar -Dproc_phoenixtraceserver -Dlog4j.configuration=file:/usr/hdp/2.6.0.3-8/phoenix/bin/log4j.properties -Dpsql.root.logger=INFO,DRFA -Dpsql.log.dir=/var/log/hdp/hbase -Dpsql.log.file=phoenix-root-traceserver.log  org.apache.phoenix.tracingwebapp.http.Main
Error: Could not find or load main class $PHOENIX_OPTS
close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor

I followed the URL: https://phoenix.apache.org/tracing.html.

Looks like the class "org.apache.phoenix.tracingwebapp.http.Main" is missing from the jar "phoenix-4.7.0.2.6.0.3-8-client.jar". Is there any additional jar I need to copy to get this working or do I need to follow any other steps?

Thank you

2 REPLIES 2

Re: Not able to start Phoenix tracing web application

Guru

Re: Not able to start Phoenix tracing web application

New Contributor

Thank you Shyam.

The above bug was reported for "queryserver.py", however it looks like the script "traceserver.py" is also got affected with the same issue. I tried replacing "$PHOENIX_OPTS" from the script and the "Error:Couldnot find or load main class $PHOENIX_OPTS" is no longer appearing. But, its still throwing the below exception

Error: Could not find or load main class org.apache.phoenix.tracingwebapp.http.Main