phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leping Huang (Jira)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-6008) cloudera phoenix-core call the wrong method
Date Tue, 14 Jul 2020 08:50:00 GMT
Leping Huang created PHOENIX-6008:
-------------------------------------

             Summary: cloudera phoenix-core call the wrong method
                 Key: PHOENIX-6008
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6008
             Project: Phoenix
          Issue Type: Bug
         Environment: local develop enviroment window10:

phoenix-core-5.0.0.7.1.1.0-565

phoenix-queryserver-5.0.0.7.1.1.0-565

hbase-client-2.2.3

mybatis-spring-1.3.2

mybatis-spring-boot-starter-2.0.0

hadoop-client-3.1.1

hadoop-common-3.1.1

 

cluster enviroment centos7:

phoenix-core-5.0.0.7.1.1.0-483

hbase-2.2.3

hadoop-3.1.1
            Reporter: Leping Huang


I used spring to connect phoenix on the CDH7.1.1 cluster and I used Cloudera repository, no
matter how I change the way my code works, I still got the error:

java.lang.NoClassDefFoundError: org/apache/htrace/SpanReceiverjava.lang.NoClassDefFoundError:
org/apache/htrace/SpanReceiver at org.apache.phoenix.trace.util.Tracing$Frequency.<clinit>(Tracing.java:73)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at org.apache.phoenix.query.QueryServicesOptions.<clinit>(QueryServicesOptions.java:229)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at org.apache.phoenix.query.QueryServicesImpl.<init>(QueryServicesImpl.java:36)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at org.apache.phoenix.jdbc.PhoenixDriver.getQueryServices(PhoenixDriver.java:197)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:235)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
~[phoenix-core-5.0.0.7.1.1.0-565.jar:5.0.0.7.1.1.0-565] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578)
~[druid-1.1.14.jar:1.1.14] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644)
~[druid-1.1.14.jar:1.1.14] at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2570)
~[druid-1.1.14.jar:1.1.14]Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SpanReceiver
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_112] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
~[na:1.8.0_112] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_112]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_112] ... 10 common frames
omitted



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message