Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

[Question] hugegraph-tools-1.4.0数据迁移问题 #93

@forgive2077

Description

@forgive2077

Problem Type (问题类型)

configs (配置项 / 文档相关)

Before submit

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

Environment (环境信息)

  • Server Version: v0.10.4
  • Backend: RocksDB

Your Question (问题描述)

bin/hugegraph --url 自己的ip:端口 --graph 自己的图名称 migrate --target-url 自己的ip:端口 --target-graph 自己的图名称
执行结果:
Migrate graph 'hugegraph' from 'http://127.0.0.1:8080' to '自己的ip:端口' as '自己的图名称'

为什么我指定了自己的ip:端口和图,执行命令的时候还是去默认的位置找
在bin/hugegraph 中也修改了全局变量--url和--graph为我自己的,但也没生效

Exception in thread "main" java.lang.RuntimeException: Construct manager failed for class 'class com.baidu.hugegraph.manager.BackupManager'
at com.baidu.hugegraph.cmd.HugeGraphCommand.manager(HugeGraphCommand.java:318)
at com.baidu.hugegraph.cmd.HugeGraphCommand.execute(HugeGraphCommand.java:172)
at com.baidu.hugegraph.cmd.HugeGraphCommand.main(HugeGraphCommand.java:379)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.baidu.hugegraph.cmd.HugeGraphCommand.manager(HugeGraphCommand.java:316)
Caused by: null: <!doctype html><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

HTTP Status 404 – Not Found


Type Status Report

Message /versions

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.


Apache Tomcat/9.0.11


at com.baidu.hugegraph.exception.ServerException.fromResponse(ServerException.java:44)
at com.baidu.hugegraph.client.RestClient.checkStatus(RestClient.java:100)
at com.baidu.hugegraph.rest.RestClient.get(RestClient.java:193)
at com.baidu.hugegraph.api.version.VersionAPI.get(VersionAPI.java:41)
at com.baidu.hugegraph.driver.VersionManager.getApiVersion(VersionManager.java:45)
at com.baidu.hugegraph.driver.HugeClient.checkServerApiVersion(HugeClient.java:122)
at com.baidu.hugegraph.driver.HugeClient.initManagers(HugeClient.java:108)
at com.baidu.hugegraph.driver.HugeClient.(HugeClient.java:72)
at com.baidu.hugegraph.driver.HugeClient.(HugeClient.java:60)
at com.baidu.hugegraph.base.ToolClient.(ToolClient.java:40)
at com.baidu.hugegraph.base.ToolManager.(ToolManager.java:36)
at com.baidu.hugegraph.base.RetryManager.(RetryManager.java:43)
at com.baidu.hugegraph.manager.BackupRestoreBaseManager.(BackupRestoreBaseManager.java:74)
at com.baidu.hugegraph.manager.BackupManager.(BackupManager.java:74)
... 7 more

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

No response

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions