Skip to content

hugegraph-server 启动不正常,查看日志有报错 #23

Description

@bitflicker64

Bug Type (问题类型)

None

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.0.0 (Apache Release Version)
  • Backend: RocksDB x nodes, HDD or SSD
  • OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
  • Data Size: xx vertices, xx edges

Expected & Actual behavior (期望与实际表现)

使用的最新的master分支编译的安装包,使用该安装包进行搭建的hugegraph集群,启动server超时,查看 logs/hugegraph-server-stdout.log 有如下的异常异常信息:
日志信息内容有乱码这是复制出来的就是这样的

4月 23, 2026 11:23:18 下午 org.glassfish.jersey.server.ServerRuntime$Responder process
严重: Error occurred when processing a response created from an already mapped exception.
2026-04-23 23:23:20 [main] [INFO] o.a.h.StandardHugeGraph - Init server info [server-1-MASTER] for graph 'DEFAULT-hugegraph'...
4月 23, 2026 11:23:20 下午 org.glassfish.jersey.server.ServerRuntime$Responder process
严重: Error occurred when processing a response created from an already mapped exception.
2026-04-23 23:23:21 [main] [INFO] o.a.h.t.ServerInfoManager - Init server info: HugeServerInfo(server-1){server_load=0, server_role=MASTER, id=server-1, label=~server, server_update_time=Thu Apr 23 23:23:21 CST 2026, server_max_load=10000}
2026-04-23 23:23:21 [server-info-db-worker-1] [ERROR] o.a.h.b.t.AbstractTransaction - Failed to parse entry: 0x877365727665722d31: [�server-1=^G�^D����j�����(����k^@����l�^P����m^A]
java.lang.IllegalArgumentException: Unexpected varint 997580932 with too many bytes(6)
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:167) ~[guava-31.0.1-android.jar:?]
at org.apache.hugegraph.util.E.checkArgument(E.java:52) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readVInt(BytesBuffer.java:470) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readBytes(BytesBuffer.java:314) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readString(BytesBuffer.java:350) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readProperty(BytesBuffer.java:647) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readProperty(BytesBuffer.java:570) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.parseProperty(BinarySerializer.java:210) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.parseProperties(BinarySerializer.java:242) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.parseVertex(BinarySerializer.java:326) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.readVertex(BinarySerializer.java:496) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.tx.GraphTransaction.parseEntry(GraphTransaction.java:2142) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.MapperIterator.fetch(MapperIterator.java:42) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.WrappedIterator.hasNext(WrappedIterator.java:38) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.FilterIterator.fetch(FilterIterator.java:40) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.WrappedIterator.hasNext(WrappedIterator.java:38) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.query.QueryResults.fillMap(QueryResults.java:206) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.tx.GraphTransaction.queryVerticesByIds(GraphTransaction.java:812) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.tx.GraphTransaction.queryServerInfos(GraphTransaction.java:768) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.task.ServerInfoManager.lambda$serverInfo$3(ServerInfoManager.java:353) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.task.TaskManager$ContextCallable.call(TaskManager.java:502) ~[hugegraph-core-1.7.0.jar:1.7.0]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
2026-04-23 23:23:21 [task-scheduler-1] [WARN] o.a.h.t.ServerInfoManager - ServerInfo is missing: server-1
2026-04-23 23:23:21 [task-scheduler-1] [WARN] o.a.h.t.ServerInfoManager - ServerInfo is missing: server-1, may be cleared before
2026-04-23 23:23:21 [server-info-db-worker-1] [ERROR] o.a.h.b.t.AbstractTransaction - Failed to parse entry: 0x877365727665722d31: [�server-1=^G�^D����j�����(����k^@����l�^P����m^A]
java.lang.IllegalArgumentException: Unexpected varint 997580932 with too many bytes(6)
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:167) ~[guava-31.0.1-android.jar:?]
at org.apache.hugegraph.util.E.checkArgument(E.java:52) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readVInt(BytesBuffer.java:470) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readBytes(BytesBuffer.java:314) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readString(BytesBuffer.java:350) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readProperty(BytesBuffer.java:647) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BytesBuffer.readProperty(BytesBuffer.java:570) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.parseProperty(BinarySerializer.java:210) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.parseProperties(BinarySerializer.java:242) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.parseVertex(BinarySerializer.java:326) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.serializer.BinarySerializer.readVertex(BinarySerializer.java:496) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.backend.tx.GraphTransaction.parseEntry(GraphTransaction.java:2142) ~[hugegraph-core-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.MapperIterator.fetch(MapperIterator.java:42) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.WrappedIterator.hasNext(WrappedIterator.java:38) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.FilterIterator.fetch(FilterIterator.java:40) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.WrappedIterator.hasNext(WrappedIterator.java:38) ~[hugegraph-common-1.7.0.jar:1.7.0]
at org.apache.hugegraph.iterator.FilterIterator.fetch(FilterIterator.java:40) ~[hugegraph-common-1.7.0.jar:1.7.0]

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions