shengkai126 opened a new issue, #303: URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/303
### Problem Type (问题类型) _No response_ ### Before submit - [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题 ### Environment (环境信息) - Server Version: v0.12.0 - Backend: RocksDB x nodes, HDD or SSD - OS: xx CPUs, xx G RAM, Centos 7.x - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) --> ### Your Question (问题描述) 我运行hugegraph-loader-0.12.0的案例报错,运行命令如下: sh bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s example/file/schema.groovy -h 127.0.0.1 -p 8088 错误如下: Failed to start loading, cause: Failed to deserialize: <!doctype html><html><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revaliadte"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/><link rel="manifest" href="/manifest.json"/><title>HugeGraph</title><link href="/static/css/2.f0469b5c.chunk.css" rel="stylesheet"><link href="/static/css/main.0103c0c9.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.ff25b072.js"></script><script src="/static/js/2.0f5da080.chunk.js"></script><script src="/static/js/main.02f120ca.chunk.js"></script></body></html> hugegraph-loader-0.12.0/logs/hugegraph-loader.log如下: Failed to start loading, cause: Failed to deserialize: <!doctype html><html><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revaliadte"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/><link rel="manifest" href="/manifest.json"/><title>HugeGraph</title><link href="/static/css/2.f0469b5c.chunk.css" rel="stylesheet"><link href="/static/css/main.0103c0c9.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.ff25b072.js"></script><script src="/static/js/2.0f5da080.chunk.js"></script><script src="/static/js/main.02f120ca.chunk.js"></script></body></html> com.baidu.hugegraph.rest.SerializeException: Failed to deserialize: <!doctype html><html><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revaliadte"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/><link rel="manifest" href="/manifest.json"/><title>HugeGraph</title><link href="/static/css/2.f0469b5c.chunk.css" rel="stylesheet"><link href="/static/css/main.0103c0c9.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.ff25b072.js"></script><script src="/static/js/2.0f5da080.chunk.js"></script><script src="/static/js/main.02f120ca.chunk.js"></script></body></html> at com.baidu.hugegraph.rest.RestResult.readObject(RestResult.java:64) ~[hugegraph-common-2.0.1.jar:2.0.1.0] at com.baidu.hugegraph.api.version.VersionAPI.get(VersionAPI.java:42) ~[hugegraph-client-2.0.1.jar:2.0.1.0] at com.baidu.hugegraph.driver.VersionManager.getApiVersion(VersionManager.java:45) ~[hugegraph-client-2.0.1.jar:2.0.1.0] at com.baidu.hugegraph.driver.HugeClient.checkServerApiVersion(HugeClient.java:111) ~[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.<init>(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.baidu.hugegraph.loader.util.HugeClientHolder.create(HugeClientHolder.java:76) ~[hugegraph-loader-0.12.0.jar:?] at com.baidu.hugegraph.loader.executor.LoadContext.<init>(LoadContext.java:72) ~[hugegraph-loader-0.12.0.jar:?] at com.baidu.hugegraph.loader.HugeGraphLoader.<init>(HugeGraphLoader.java:85) ~[hugegraph-loader-0.12.0.jar:?] at com.baidu.hugegraph.loader.HugeGraphLoader.<init>(HugeGraphLoader.java:81) ~[hugegraph-loader-0.12.0.jar:?] at com.baidu.hugegraph.loader.HugeGraphLoader.<init>(HugeGraphLoader.java:77) ~[hugegraph-loader-0.12.0.jar:?] at com.baidu.hugegraph.loader.HugeGraphLoader.main(HugeGraphLoader.java:68) [hugegraph-loader-0.12.0.jar:?] Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (String)"<!doctype html><html><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revaliadte"/><meta http-equiv="Pragma" content="no-cache"/><meta http-equiv="Expires" content="0"/><link rel="manifest" href="/manifest.json"/><title>HugeGraph</title><link href="/static/css/2.f0469b5c.chunk.css" rel="styles"[truncated 357 chars]; line: 1, column: 2] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2337) ~[jackson-core-2.12.1.jar:2.12.1] at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:710) ~[jackson-core-2.12.1.jar:2.12.1] at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:635) ~[jackson-core-2.12.1.jar:2.12.1] at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1952) ~[jackson-core-2.12.1.jar:2.12.1] at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:781) ~[jackson-core-2.12.1.jar:2.12.1] at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4684) ~[jackson-databind-2.12.1.jar:2.12.1] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4586) ~[jackson-databind-2.12.1.jar:2.12.1] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3548) ~[jackson-databind-2.12.1.jar:2.12.1] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3516) ~[jackson-databind-2.12.1.jar:2.12.1] at com.baidu.hugegraph.rest.RestResult.readObject(RestResult.java:62) ~[hugegraph-common-2.0.1.jar:2.0.1.0] ... 12 more ### Vertex/Edge example (问题点 / 边数据举例) _No response_ ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) _No response_ -- 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]
