java-bigtable-hbase: netty-tcnative conflict

I’m attempting to build a Scala project that integrates with both BigTable and Google Cloud Pubsub.

google-cloud-pubsub:0.20.1-beta depends on netty-tcnative-boringssl-static:2.0.3.Final (which contains io.internal.tcnative.SSL)

bigtable-hbase-1.2:0.9.7.1 depends on netty-tcnative-boringssl-static:1.1.33.Fork26 (which contains org.apache.tomcat.jni.SSL)

At runtime I will get an error such as

i.n.h.s.OpenSsl:71 netty-tcnative not in the classpath; OpenSslEngine will be unavailable.

Is there anyway I can make this work together?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 15 (13 by maintainers)

Most upvoted comments

One better:

You can use bigtable-hbase-1.x-shaded 1.0.0, it includes a private copy of tcnative and uses hbase-shaded-client, which minimize the surface area for dependency conflicts