grpc compatibility with storage 2.27.x
patelprateek opened this issue · 3 comments
cloud storage 2.27.0 , running into different dependency issues
using gcs cloud storage 2.27.0 and grpc-java 1.58.0
@maven//:com_google_cloud_google_cloud_storage
@maven//:io_grpc_grpc_inprocess
.-> @maven//:io_grpc_grpc_core
| @maven//:io_grpc_grpc_util
`-- @maven//:io_grpc_grpc_core
OR
@maven//:com_google_cloud_google_cloud_storage
@maven//:io_grpc_grpc_netty_shaded
.-> @maven//:io_grpc_grpc_core
| @maven//:io_grpc_grpc_util
`-- @maven//:io_grpc_grpc_core
cyclic depdendency issue
If i use an older version of gfprc-java 1.56.0 or older then
noSuchMethodError
"java.lang.NoSuchMethodError: 'void io.grpc.internal.AbstractManagedChannelImplBuilder.(java.lang.String)'"
=> java.lang.NoSuchMethodError: 'void io.grpc.internal.AbstractManagedChannelImplBuilder.(java.lang.String)'
io.grpc.netty.NettyChannelBuilder.(NettyChannelBuilder.java:147)
io.grpc.netty.NettyChannelBuilder.(NettyChannelBuilder.java:142)
I saw that the particular method has been removed in 1.58.0
What is the correct way to handle this cyclic dependency or which version of grpc java should i be using ?
v2.27.1 was released yesterday with grpc 1.58.0, that should allow you to use the newer version of grpc.
@BenWhitehead : this is not working with 2.27.1 , sorry of forgot to mention i tried with both 2.27.0 and 2.27.1 both
@BenWhitehead : please re-open the ticket , lets not close it until we have verified it works