[ 
https://issues.apache.org/jira/browse/PHOENIX-5114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

shai updated PHOENIX-5114:
--------------------------
    Description: 
Hi,

Phoenix JDBC has a dependency on protobuf, We are using protobuf version 3.6.1, 
and it seems that they made some major changes that doesn't support backward 
compatible, they made some of the static class's private, and because of that 
the pohenix connector is throwing exception

 *"java.lang.NoClassDefFoundError: com/google/protobuf/LiteralByteString"*

if you download the source code of the protobuff ByteString class, you will see 
in comment:

_*Keep this class private to avoid deadlocks in classloading across threads as 
ByteString's,*_ _*static initialize loads LiteralByteString and another thread 
loads LiteralByteString.*_

Is it possible to fix the Phoenix JDBC connector to support the latest 
protobuff version? 

 

Thanks,

[email protected]

  was:
Hi,

 

 

Phoenix JDBC has a dependency on protobuf, We are using protobuf version 3.6.1, 
and it seems that they made some major changes that doesn't support backward 
compatible, they made some of the static class's private, and because of that 
the pohenix connector is throwing exception

 *"java.lang.NoClassDefFoundError: com/google/protobuf/LiteralByteString"*

if you download the source code of the protobuff ByteString class, you will see 
in comment:

_*Keep this class private to avoid deadlocks in classloading across threads as 
ByteString's,*_ _*static initialize loads LiteralByteString and another thread 
loads LiteralByteString.*_

Is it possible to fix the Phoenix JDBC connector to support the latest 
protobuff version? 

 

Thanks,

[email protected]


> protobuf-java latest Dependency version throw exception
> -------------------------------------------------------
>
>                 Key: PHOENIX-5114
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5114
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: shai
>            Priority: Major
>
> Hi,
> Phoenix JDBC has a dependency on protobuf, We are using protobuf version 
> 3.6.1, and it seems that they made some major changes that doesn't support 
> backward compatible, they made some of the static class's private, and 
> because of that the pohenix connector is throwing exception
>  *"java.lang.NoClassDefFoundError: com/google/protobuf/LiteralByteString"*
> if you download the source code of the protobuff ByteString class, you will 
> see in comment:
> _*Keep this class private to avoid deadlocks in classloading across threads 
> as ByteString's,*_ _*static initialize loads LiteralByteString and another 
> thread loads LiteralByteString.*_
> Is it possible to fix the Phoenix JDBC connector to support the latest 
> protobuff version? 
>  
> Thanks,
> [email protected]



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

Reply via email to