Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] 服务端版本1.0.0,客户端client版本号为2.0.1, 启动客户端时报The version 0.69.0.0 of 'hugegraph-api in server' is not in xxx #2102

Closed
1 task done
hh516554097 opened this issue Feb 3, 2023 · 1 comment

Comments

@hh516554097
Copy link

Problem Type (问题类型)

rest-api (结果不合预期)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

  • Server Version: v1.0.0
  • Backend: HBase
  • OS: xx CPUs, xx G RAM, Centos 7.x
  • Data Size: xx vertices, xx edges

Your Question (问题描述)

Caused by: java.lang.IllegalStateException: The version 0.69.0.0 of 'hugegraph-api in server' is not in [0.38, 0.68)
at com.google.common.base.Preconditions.checkState(Preconditions.java:532) ~[guava-29.0-jre.jar:na]
at com.baidu.hugegraph.util.E.checkState(E.java:68) ~[hugegraph-common-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.util.VersionUtil.check(VersionUtil.java:65) ~[hugegraph-common-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.driver.HugeClient.checkServerApiVersion(HugeClient.java:112) ~[hugegraph-client-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.driver.HugeClient.initManagers(HugeClient.java:95) ~[hugegraph-client-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.driver.HugeClient.(HugeClient.java:67) ~[hugegraph-client-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.driver.HugeClientBuilder.build(HugeClientBuilder.java:67) ~[hugegraph-client-2.0.1.jar:2.0.1.0]
at com.bme.hugegraph.config.HugeGraphClient.hugeClient5(HugeGraphClient.java:33) ~[classes/:na]
at com.bme.hugegraph.config.HugeGraphClient$$EnhancerBySpringCGLIB$$e6056aea.CGLIB$hugeClient5$1() ~[classes/:na]

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

@imbajin imbajin changed the title 部署的服务端版本号为1.0.0,客户端的版本号为(hugegraph-client)2.0.1,启动时客户端时报The version 0.69.0.0 of 'hugegraph-api in server' is not in [0.38, 0.68),请问客户端的最新版本是多少? [Question] 服务端版本1.0.0,客户端client版本号为2.0.1, 启动客户端时报The version 0.69.0.0 of 'hugegraph-api in server' is not in xxx Feb 3, 2023
@imbajin
Copy link
Member

imbajin commented Feb 3, 2023

感谢反馈, 虽然这个问题应该在 toolchain 仓库提, 不过因为切换到 Apache 的第一个新版本之后大家容易遇到这样的困惑, 后面发版文档和 README 中都会进行更新, 显著标明

目前可参考: (注意目前需要 pom 里也加上一个 apache 仓库配置, 正式 release 之后就不需要了)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants