Tommu10ve opened a new issue, #2768: URL: https://github.com/apache/incubator-hugegraph/issues/2768
### Bug Type (问题类型) None ### Before submit - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents) ### Environment (环境信息) - Server Version: :1.5.0(Apache Release Version) - Backend: Cassandra nodes, HDD - OS: 16 CPUs, 47G RAM, Anolis OS 8.9 ### Expected & Actual behavior (期望与实际表现) 部署脚本 ``` version: "3" services: graph: image: hugegraph/hugegraph container_name: cas-server ports: - 48080:8080 environment: hugegraph.backend: cassandra hugegraph.serializer: cassandra hugegraph.cassandra.host: cas-cassandra hugegraph.cassandra.port: 9042 networks: - ca-network depends_on: - cassandra healthcheck: test: ["CMD", "bin/gremlin-console.sh", "--" ,"-e", "scripts/remote-connect.groovy"] interval: 10s timeout: 30s retries: 3 cassandra: image: cassandra:4.0.10 container_name: cas-cassandra ports: - 7000:7000 - 9042:9042 security_opt: - seccomp:unconfined networks: - ca-network healthcheck: test: ["CMD", "cqlsh", "--execute", "describe keyspaces;"] interval: 10s timeout: 30s retries: 5 hubble: image: hugegraph/hubble:1.5.0 container_name: hubble ports: - 8088:8088 networks: ca-network: ``` 部署之后 使用 cassandra 失败 ``` Hugegraph server are waiting for storage backend... cas-server | Hugegraph server are waiting for storage backend... cas-server | init hugegraph with non-auth mode cas-server | Initializing HugeGraph Store... cas-server | 2025-05-21 09:49:40 [main] [ERROR] o.a.h.StandardHugeGraph - Failed to load backend store provider: backend is illegal: cassandra cas-server | Exception in thread "main" java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class org.apache.hugegraph.HugeFactory] cas-server | at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:84) cas-server | at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:72) cas-server | at org.apache.hugegraph.cmd.InitStore.initGraph(InitStore.java:103) cas-server | at org.apache.hugegraph.cmd.InitStore.main(InitStore.java:87) cas-server | Caused by: java.lang.reflect.InvocationTargetException cas-server | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) cas-server | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) cas-server | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) cas-server | at java.base/java.lang.reflect.Method.invoke(Method.java:566) cas-server | at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:80) cas-server | ... 3 more cas-server | Caused by: org.apache.hugegraph.HugeException: Failed to load backend store provider cas-server | at org.apache.hugegraph.StandardHugeGraph.<init>(StandardHugeGraph.java:236) cas-server | at org.apache.hugegraph.HugeFactory.open(HugeFactory.java:88) cas-server | at org.apache.hugegraph.HugeFactory.open(HugeFactory.java:66) cas-server | ... 8 more cas-server | Caused by: java.lang.IllegalStateException: backend is illegal: cassandra cas-server | at com.google.common.base.Preconditions.checkState(Preconditions.java:534) cas-server | at org.apache.hugegraph.util.E.checkState(E.java:64) cas-server | at org.apache.hugegraph.backend.store.BackendProviderFactory.newProvider(BackendProviderFactory.java:70) cas-server | at org.apache.hugegraph.backend.store.BackendProviderFactory.open(BackendProviderFactory.java:59) cas-server | at org.apache.hugegraph.StandardHugeGraph.loadStoreProvider(StandardHugeGraph.java:575) cas-server | at org.apache.hugegraph.StandardHugeGraph.<init>(StandardHugeGraph.java:231) cas-server | ... 10 more cas-server | Initialization finished. cas-server | Starting HugeGraphServer in daemon mode... cas-server | Connecting to HugeGraphServer (http://0.0.0.0:8080/graphs)...OK ``` ### Vertex/Edge example (问题点 / 边数据举例) ```javascript ``` ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) ```javascript ``` -- 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]
