phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Krishna Dara (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4761) java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory
Date Fri, 01 Jun 2018 06:51:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497646#comment-16497646
] 

Hari Krishna Dara commented on PHOENIX-4761:
--------------------------------------------

I looked at the server configuration and it seems that Disruptor is not part of the server
dependencies in 0.98 (yes, we are still using this version):

https://github.com/apache/hbase/blob/0.98/hbase-server/pom.xml

Where as the newer versions have it, e.g., see:

https://github.com/apache/hbase/blob/branch-1.2/hbase-server/pom.xml#L557



> java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-4761
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4761
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0
>            Reporter: Hari Krishna Dara
>            Priority: Major
>         Attachments: PHOENIX-4761.patch
>
>
> There was a recent additional dependency on this 3rd party library, but it is not made
available at runtime via the assembly, so I am seeing the below exception:
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.<init>(ConnectionQueryServicesImpl.java:414)
> 	at org.apache.phoenix.jdbc.PhoenixDriver$3.call(PhoenixDriver.java:248)
> 	at org.apache.phoenix.jdbc.PhoenixDriver$3.call(PhoenixDriver.java:241)
> 	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4796)
> 	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589)
> 	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374)
> 	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337)
> 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252)
> 	at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
> 	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4793)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:241)
> 	at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:664)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:270)
> {noformat}
> The



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message