imbajin commented on code in PR #281: URL: https://github.com/apache/incubator-hugegraph-doc/pull/281#discussion_r1320556233
########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` Review Comment: ```suggestion ```bash ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +``` + +然后使用浏览器访问 `ip:8088` 看到`hubble`页面, 也可以通过`bin/stop-hubble.sh`停止服务 + +#### 2.2 源码编译 + +需要用户提前安装`yarn==16.x` + +下载toolchain源码包 + +```shell +git clone https://github.com/apache/incubator-hugegraph-toolchain.git +``` + +编译`hubble` + +```shell +cd incubator-hugegraph-toolchain/hugegraph-hubble +mvn -e compile package -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -ntp +cd apache-hugegraph-hubble-incubating* +``` + +启动`hubble` + +``` Review Comment: ```suggestion ```bash ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +``` + +然后使用浏览器访问 `ip:8088` 看到`hubble`页面, 也可以通过`bin/stop-hubble.sh`停止服务 Review Comment: ```suggestion 然后使用浏览器访问 `ip:8088` 可看到`hubble`页面, 通过`bin/stop-hubble.sh`则可以停止服务 ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +``` + +然后使用浏览器访问 `ip:8088` 看到`hubble`页面, 也可以通过`bin/stop-hubble.sh`停止服务 + +#### 2.2 源码编译 + +需要用户提前安装`yarn==16.x` + +下载toolchain源码包 + +```shell +git clone https://github.com/apache/incubator-hugegraph-toolchain.git +``` + +编译`hubble` + +```shell +cd incubator-hugegraph-toolchain/hugegraph-hubble +mvn -e compile package -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -ntp +cd apache-hugegraph-hubble-incubating* +``` + +启动`hubble` + +``` +bin/start-hubble.sh -d +``` + +#### 2.3 使用Docker + +> 注意,如果使用docker启动hubble,如果hubble和server位于同一宿主机,在后续设置graph的hostname的时候请不要直接设置localhost或127.0.0.1,这将指向hubble容器内部而非宿主机,导致无法连接到graph Review Comment: ```suggestion > **特别注意**: 如果使用 docker 启动 hubble,且 hubble 和 server 位于同一宿主机,在后续 hubble 页面中设置 graph 的 hostname 的时候请不要直接设置 `localhost/127.0.0.1`,这将指向 hubble 容器内部而非宿主机,导致无法连接到 server ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +``` + +然后使用浏览器访问 `ip:8088` 看到`hubble`页面, 也可以通过`bin/stop-hubble.sh`停止服务 Review Comment: ```suggestion 然后使用浏览器访问 `ip:8088` 可看到`hubble`页面, 通过`bin/stop-hubble.sh`则可以停止服务 ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` Review Comment: ```suggestion ```bash ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain Review Comment: ```suggestion - 下载 toolchain 二进制包 ``` 同修改后续相关部分文字 (include EN) ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +``` + +然后使用浏览器访问 `ip:8088` 看到`hubble`页面, 也可以通过`bin/stop-hubble.sh`停止服务 + +#### 2.2 源码编译 + +需要用户提前安装`yarn==16.x` + +下载toolchain源码包 + +```shell +git clone https://github.com/apache/incubator-hugegraph-toolchain.git Review Comment: ```suggestion git clone https://github.com/apache/hugegraph-toolchain.git ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) Review Comment: ```suggestion 2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID xxx (~/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by $USER in ~/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. Review Comment: could reduce useless log print 🖨️ ########## content/cn/docs/quickstart/hugegraph-server.md: ########## @@ -518,4 +525,67 @@ schema = graph.schema() 代表创建示例图成功。 -> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 \ No newline at end of file +> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 + + +#### 9.2 启动脚本时使用参数 + +在启动脚本后加入`-p true` Review Comment: ```suggestion 在脚本启动时候携带 `-p true` 参数 ``` ########## content/cn/docs/quickstart/hugegraph-server.md: ########## @@ -518,4 +525,67 @@ schema = graph.schema() 代表创建示例图成功。 -> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 \ No newline at end of file +> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 + + +#### 9.2 启动脚本时使用参数 + +在启动脚本后加入`-p true` + +``` +bin/start-hugegraph.sh -p true +Starting HugeGraphServer in daemon mode... +Connecting to HugeGraphServer (http://127.0.0.1:8080/graphs)......OK +``` + +并且使用 RESTful API 请求 `HugeGraphServer` 得到如下结果: + +```javascript +> curl "http://localhost:8080/graphs/hugegraph/graph/vertices" | gunzip + + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed +100 222 100 222 0 0 4625 0 --:--:-- --:--:-- --:--:-- 4625 Review Comment: no need print progress info ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain Review Comment: ditto ########## content/cn/docs/quickstart/hugegraph-server.md: ########## @@ -518,4 +525,67 @@ schema = graph.schema() 代表创建示例图成功。 -> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 \ No newline at end of file +> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 + + +#### 9.2 启动脚本时使用参数 Review Comment: ```suggestion #### 9.2 启动脚本时指定参数 ``` ########## content/cn/docs/quickstart/hugegraph-server.md: ########## @@ -518,4 +525,67 @@ schema = graph.schema() 代表创建示例图成功。 -> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 \ No newline at end of file +> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 + + +#### 9.2 启动脚本时使用参数 + +在启动脚本后加入`-p true` + +``` +bin/start-hugegraph.sh -p true +Starting HugeGraphServer in daemon mode... +Connecting to HugeGraphServer (http://127.0.0.1:8080/graphs)......OK +``` + +并且使用 RESTful API 请求 `HugeGraphServer` 得到如下结果: + +```javascript +> curl "http://localhost:8080/graphs/hugegraph/graph/vertices" | gunzip + + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed +100 222 100 222 0 0 4625 0 --:--:-- --:--:-- --:--:-- 4625 +{"vertices":[{"id":"2:lop","label":"software","type":"vertex","properties":{"name":"lop","lang":"java","price":328}},{"id":"1:josh","label":"person","type":"vertex","properties":{"name":"josh","age":32,"city":"Beijing"}},{"id":"1:marko","label":"person","type":"vertex","properties":{"name":"marko","age":29,"city":"Beijing"}},{"id":"1:peter","label":"person","type":"vertex","properties":{"name":"peter","age":35,"city":"Shanghai"}},{"id":"1:vadas","label":"person","type":"vertex","properties":{"name":"vadas","age":27,"city":"Hongkong"}},{"id":"2:ripple","label":"software","type":"vertex","properties":{"name":"ripple","lang":"java","price":199}}]} +``` + +代表创建示例图成功。 + + +#### 9.3 使用docker启动 + +在docker启动的时候设置环境变量 `PRELOAD=true`, 从而实现启动脚本的时候加载数据。 + +1. 使用`docker run` + + 使用 `docker run -itd --name=graph -p 18080:8080 -e PRELOAD=true hugegraph/hugegraph:latest` + +2. 使用`docker-compose` + + 创建`docker-compose.yml`,具体文件如下 + + ```yaml + version: '3' + services: + graph: + image: hugegraph/hugegraph:latest + container_name: graph + environment: + - PRELOAD=true + ports: + - 18080:8080 + ``` + + 使用命令 `docker-compose up -d` 启动容器 + +使用 RESTful API 请求 `HugeGraphServer` 得到如下结果: + +```javascript +> curl "http://localhost:18080/graphs/hugegraph/graph/vertices" | gunzip + +% Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed +100 222 100 222 0 0 4625 0 --:--:-- --:--:-- --:--:-- 4625 Review Comment: same ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +``` + +然后使用浏览器访问 `ip:8088` 看到`hubble`页面, 也可以通过`bin/stop-hubble.sh`停止服务 + +#### 2.2 源码编译 + +需要用户提前安装`yarn==16.x` + +下载toolchain源码包 + +```shell +git clone https://github.com/apache/incubator-hugegraph-toolchain.git +``` + +编译`hubble` + +```shell +cd incubator-hugegraph-toolchain/hugegraph-hubble +mvn -e compile package -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -ntp +cd apache-hugegraph-hubble-incubating* +``` + +启动`hubble` + +``` +bin/start-hubble.sh -d +``` + +#### 2.3 使用Docker + +> 注意,如果使用docker启动hubble,如果hubble和server位于同一宿主机,在后续设置graph的hostname的时候请不要直接设置localhost或127.0.0.1,这将指向hubble容器内部而非宿主机,导致无法连接到graph Review Comment: ```suggestion > **特别注意**: 如果使用 docker 启动 hubble,且 hubble 和 server 位于同一宿主机,在后续 hubble 页面中设置 graph 的 hostname 的时候请不要直接设置 `localhost/127.0.0.1`,这将指向 hubble 容器内部而非宿主机,导致无法连接到 server ``` ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain Review Comment: ```suggestion - 下载 toolchain 二进制包 ``` 同修改后续相关部分文字 (include EN) ########## content/cn/docs/quickstart/hugegraph-hubble.md: ########## @@ -32,7 +32,109 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统, 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。 -### 2 平台使用流程 +#### 2 部署 + +有三种方式可以部署`hugegraph-hubble` +- 使用toolchain +- 源码编译 +- 使用docker + +#### 2.1 使用toolchain + +首先下载tar包 + +``` +wget https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-{version}.tar.gz +tar -xvf apache-hugegraph-toolchain-incubating-{version}.tar.gz +cd apache-hugegraph-toolchain-incubating-{version}.tar.gz/apache-hugegraph-hubble-incubating-{version} +``` + +运行`hubble` + +``` +bin/start-hubble.sh +``` + +随后我们可以看到 + +```shell +starting HugeGraphHubble ..............timed out with http status 502 +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - Starting HugeGraphHubble v1.0.0 on cpu05 with PID 3422816 (/home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0/lib/hubble-be-1.0.0.jar started by dandelion in /home/dandelion/apache-hugegraph-toolchain-incubating-1.0.0/apache-hugegraph-hubble-incubating-1.0.0) +2023-08-30 20:38:34 [main] [INFO ] o.a.h.HugeGraphHubble [] - No active profile set, falling back to default profiles: default +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. +2023-08-30 20:38:41 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Starting ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:41 [main] [INFO ] o.a.h.HugeGraphHubble [] - Started HugeGraphHubble in 7.379 seconds (JVM running for 8.499) +flection.CachedClass +WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations +WARNING: All illegal access operations will be denied in a future release +2023-08-30 20:38:37 [main] [INFO ] o.a.c.h.Http11NioProtocol [] - Initializing ProtocolHandler ["http-nio-0.0.0.0-8088"] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardService [] - Starting service [Tomcat] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.StandardEngine [] - Starting Servlet engine: [Apache Tomcat/9.0.24] +2023-08-30 20:38:37 [main] [INFO ] o.a.c.c.C.[.[.[/] [] - Initializing Spring embedded WebApplicationContext +2023-08-30 20:38:37 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Starting... +2023-08-30 20:38:38 [main] [INFO ] c.z.h.HikariDataSource [] - hugegraph-hubble-HikariCP - Start completed. Review Comment: could reduce useless log print 🖨️ ########## content/cn/docs/quickstart/hugegraph-server.md: ########## @@ -518,4 +525,67 @@ schema = graph.schema() 代表创建示例图成功。 -> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 \ No newline at end of file +> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 + + +#### 9.2 启动脚本时使用参数 + +在启动脚本后加入`-p true` Review Comment: ```suggestion 在脚本启动时候携带 `-p true` 参数 ``` ########## content/cn/docs/quickstart/hugegraph-server.md: ########## @@ -518,4 +525,67 @@ schema = graph.schema() 代表创建示例图成功。 -> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 \ No newline at end of file +> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。 + + +#### 9.2 启动脚本时使用参数 Review Comment: ```suggestion #### 9.2 启动脚本时指定参数 ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
