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

Jerry Chabot commented on PHOENIX-1567:
---------------------------------------

What is the status of this request? I ask because my app was depending on 
phoenix-core. I've upgraded to a newer version of phoenix (4.14.0) and hbase 
(1.4.6) as part of an Amazon EMR upgrade (5.17). This version combination 
results in an error which I am hoping is resolved by changing to the 
phoenix-client dependency as that is a shared jar. But, I cannot add such a 
maven dependency as the phoenx-client jar is not available in a maven 
repository. Short of building it myself and adding it to a local maven 
repository.

com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: 
com.lmax.disruptor.dsl.Disruptor.<init>(Lcom/lmax/disruptor/EventFactory;ILjava/util/concurrent/ThreadFactory;Lcom/lmax/disruptor/dsl/ProducerType;Lcom/lmax/disruptor/WaitStrategy;)V
com.google.common.util.concurrent.ExecutionError: java.lang.NoSuchMethodError: 
com.lmax.disruptor.dsl.Disruptor.<init>(Lcom/lmax/disruptor/EventFactory;ILjava/util/concurrent/ThreadFactory;Lcom/lmax/disruptor/dsl/ProducerType;Lcom/lmax/disruptor/WaitStrategy;)V
 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197) 
~[guava-15.0.jar:?]
 at com.google.common.cache.LocalCache.get(LocalCache.java:3932) 
~[guava-15.0.jar:?]
 at 
com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) 
~[guava-15.0.jar:?]
 at 
org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:240)
 ~[phoenix-core-4.14.0-HBase-1.4.jar:4.14.0-HBase-1.4]
 at 
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
 ~[phoenix-core-4.14.0-HBase-1.4.jar:4.14.0-HBase-1.4]

> Publish Phoenix-Client & Phoenix-Server jars into Maven Repo
> ------------------------------------------------------------
>
>                 Key: PHOENIX-1567
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1567
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Jeffrey Zhong
>            Assignee: Ankit Singhal
>            Priority: Major
>         Attachments: PHOENIX-1567.patch
>
>
> Phoenix doesn't publish Phoenix Client & Server jars into Maven repository. 
> This make things quite hard for down steam projects/applications to use maven 
> to resolve dependencies.
> I tried to modify the pom.xml under phoenix-assembly while it shows the 
> following. 
> {noformat}
> [INFO] Installing 
> /Users/jzhong/work/phoenix_apache/checkins/phoenix/phoenix-assembly/target/phoenix-4.3.0-SNAPSHOT-client.jar
>  
> to 
> /Users/jzhong/.m2/repository/org/apache/phoenix/phoenix-assembly/4.3.0-SNAPSHOT/phoenix-assembly-4.3.0-SNAPSHOT-client.jar
> {noformat}
> Basically the jar published to maven repo will become  
> phoenix-assembly-4.3.0-SNAPSHOT-client.jar or 
> phoenix-assembly-4.3.0-SNAPSHOT-server.jar
> The artifact id "phoenix-assembly" has to be the prefix of the names of jars.
> Therefore, the possible solutions are:
> 1) rename current client & server jar to phoenix-assembly-clinet/server.jar 
> to match the jars published to maven repo.
> 2) rename phoenix-assembly to something more meaningful and rename our client 
> & server jars accordingly
> 3) split phoenix-assembly and move the corresponding artifacts into 
> phoenix-client & phoenix-server folders. Phoenix-assembly will only create 
> tar ball files.
> [~giacomotaylor], [~apurtell] or other maven experts: Any suggestion on this? 
> Thanks.



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

Reply via email to