fenganhao commented on issue #653: URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/653#issuecomment-2665651323
> Hi [@fenganhao](https://github.com/fenganhao) , sorry that I can not reproduce this issue yet. > > Firstly, it looks like the client failed to deserialize the json with `edgelabel_type`, but we have tested that case > > [incubator-hugegraph-toolchain/hugegraph-client/src/test/java/org/apache/hugegraph/unit/RestResultTest.java](https://github.com/apache/incubator-hugegraph-toolchain/blob/4b89c5d8d8a36d6361987d0b3ca248370793fccf/hugegraph-client/src/test/java/org/apache/hugegraph/unit/RestResultTest.java#L228-L245) > > Lines 228 to 245 in [4b89c5d](/apache/incubator-hugegraph-toolchain/commit/4b89c5d8d8a36d6361987d0b3ca248370793fccf) > > @SneakyThrows > @Test > public void testReadEdgeLabel() { > String json = "{\n" + > " \"id\" : 14,\n" + > " \"name\" : \"created\",\n" + > " \"edgelabel_type\" : \"NORMAL\",\n" + > " \"links\" : [ {\n" + > " \"person\" : \"software\"\n" + > " } ],\n" + > " \"frequency\" : \"SINGLE\",\n" + > " \"sort_keys\" : [ ],\n" + > " \"nullable_keys\" : [ ],\n" + > " \"index_labels\" : [ ],\n" + > " \"properties\" : [ \"date\" ],\n" + > " \"status\" : \"CREATED\",\n" + > " \"enable_label_index\" : true\n" + > "}"; > Secondly, I have tried to reproduce this issue with docker, followed by [official guide](https://hugegraph.apache.org/cn/docs/quickstart/hugegraph-loader/#21-%E4%BD%BF%E7%94%A8-docker-%E9%95%9C%E5%83%8F-%E4%BE%BF%E4%BA%8E%E6%B5%8B%E8%AF%95). Unfortunately, can not reproduce that issue. > >  > > Thirdly, can you offer the full logs? including full hugegraph-loader.log and server.log. > > Besides, you can try: > > 1. follow the guide's example, and than switch that to your own case. > 2. offer the full `struct` file and `schema` file as guide required: https://hugegraph.apache.org/cn/docs/quickstart/hugegraph-loader/#341-%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E @Thespica Thank you very much for your help. Following your advice, I checked the docker-compose.yml file and discovered that the issue was caused by using the latest version for the server image, while the loader image was using version 1.5.0, leading to a version mismatch. The issue has now been resolved. Thanks again for your support!!!! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
