Open xinuo opened 7 months ago
Which version of your java sdk and milvus? I just use Java SDK 2.3.3 and Milvus 2.3.3 to run the SimpleExample.java, it works well.
i had to set grpc version to io.grpc:grpc-netty:1.60.1
here is a reproducible test case https://github.com/alexanderankin/how-to-itest/commit/32ddec402e25064f854c116839359f5408e61832 - remove the line and it fails
if its the same issue I'm facing, here is the relevant part of the stack trace:
the same method is implemented in 1.60.1
i had to set grpc version to io.grpc:grpc-netty:1.60.1
here is a reproducible test case alexanderankin/how-to-itest@32ddec4 - remove the line and it fails
The java.lang.UnsupportedOperationException caused by io.grpc.netty.AbstractHttp2Headers.isEmpty has been fixed in the v2.3.4 by upgrading the grpc version to 1.59.1.
But this error I think is different, the root cause is unknown:
io.grpc.StatusRuntimeException: UNKNOWN
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:271)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:252)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:165)
I was seeing those same stack trace lines in the top half of my exception stack trace, but I omitted them, because I didn't think it was relevant. The two parts of the overall stack trace happen on different threads, in my understanding
thank you for fixing this in latest release! verified and upgraded my repo of examples in https://github.com/alexanderankin/how-to-itest/commit/e6be074e157f4681698c541b852605e344645055
hope we hear back from the original poster to find if that is the same issue or not.
When I run SimpleExample.java, it prompts an error and the following is the error message.
At the same time, I see the milvus service presenting like this:
But what confuses me is that when I run hello_milvus.py, it is successful. This means that milvus should be fine.