You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "aroundabout (via GitHub)" <gi...@apache.org> on 2023/08/30 15:34:00 UTC

[GitHub] [incubator-hugegraph-doc] aroundabout opened a new pull request, #281: doc: add server preload and hubble deploy

aroundabout opened a new pull request, #281:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/281

   ## main change 
   1. add the server preload.
   2. add how to deploy hubble.
   
   ## related issue
   1. https://github.com/apache/incubator-hugegraph/issues/840


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-doc] javeme commented on a diff in pull request #281: doc: add server preload and hubble deploy

Posted by "javeme (via GitHub)" <gi...@apache.org>.
javeme commented on code in PR #281:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/281#discussion_r1320679995


##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,93 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+首先下载tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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`

Review Comment:
   我们也给出一下安装命令?



##########
content/cn/docs/quickstart/hugegraph-server.md:
##########
@@ -518,4 +525,62 @@ schema = graph.schema()
 
 代表创建示例图成功。
 
-> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。
\ No newline at end of file
+> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。
+
+
+#### 9.2 启动脚本时指定参数
+
+在脚本启动时候携带 `-p true` 参数

Review Comment:
   "...携带 `-p true` 参数表示xx"



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,93 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+首先下载tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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源码包

Review Comment:
   我们可以先说明一下:"hubble 在 toolchain 仓库中,首先下载 toolchain 源码包"



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,93 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+首先下载tar包

Review Comment:
   我们可以先说明一下:"hubble 在 toolchain 仓库中,首先下载 toolchain 的 tar 包"



##########
content/cn/docs/quickstart/hugegraph-server.md:
##########
@@ -518,4 +525,62 @@ schema = graph.schema()
 
 代表创建示例图成功。
 
-> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。
\ No newline at end of file
+> 使用 IntelliJ IDEA 在启动 Server 时创建示例图的流程类似,不再赘述。
+
+
+#### 9.2 启动脚本时指定参数
+
+在脚本启动时候携带 `-p true` 参数

Review Comment:
   "...携带 `-p true` 参数表示xx"



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,93 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+首先下载tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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源码包

Review Comment:
   我们可以先说明一下:"hubble 在 toolchain 仓库中,首先下载 toolchain 源码包"



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,93 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+首先下载tar包

Review Comment:
   我们可以先说明一下:"hubble 在 toolchain 仓库中,首先下载 toolchain 的 tar 包"



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,93 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+首先下载tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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`

Review Comment:
   我们也给出一下安装命令?



-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-doc] imbajin merged pull request #281: doc: add server preload and hubble deploy

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #281:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/281


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-doc] imbajin commented on a diff in pull request #281: doc: add server preload and hubble deploy

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-doc] aroundabout commented on a diff in pull request #281: doc: add server preload and hubble deploy

Posted by "aroundabout (via GitHub)" <gi...@apache.org>.
aroundabout commented on code in PR #281:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/281#discussion_r1320971409


##########
content/en/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,116 @@ By inputting the graph traversal language Gremlin, high-performance general anal
 
 For Gremlin tasks that need to traverse the whole graph, index creation and reconstruction and other time-consuming asynchronous tasks, the platform provides corresponding task management functions to achieve unified management and result viewing of asynchronous tasks.
 
-### 2	Platform Workflow
+### 2 Deploy
+
+There are three ways to deplot `hugegraph-hubble`
+- Download the Toolchain binary package
+- Source code compilation
+- Use Docker
+
+#### 2.1 Download the Toolchain binary package
+
+`hubble` is in the `toolchain` project. First, download the binary tar tarball
+
+```bash
+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}
+```
+
+Run `hubble`
+
+```bash
+bin/start-hubble.sh
+```
+
+Then, we can see:
+
+```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 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)
+...
+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)
+```
+
+Then use a web browser to access `ip:8088` and you can see the `Hubble` page. You can stop the service using bin/stop-hubble.sh.
+
+#### 2.2 Source code compilation
+
+User should install `nodejs==16.x` and `yarn` firstly.
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+check the version is 16.x or not

Review Comment:
   ```suggestion
   Then, verify that the installed Node.js version is 16.x (please note that higher Node version may cause conflicts).
   ```



-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-doc] aroundabout commented on a diff in pull request #281: doc: add server preload and hubble deploy

Posted by "aroundabout (via GitHub)" <gi...@apache.org>.
aroundabout commented on code in PR #281:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/281#discussion_r1320971085


##########
content/en/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,116 @@ By inputting the graph traversal language Gremlin, high-performance general anal
 
 For Gremlin tasks that need to traverse the whole graph, index creation and reconstruction and other time-consuming asynchronous tasks, the platform provides corresponding task management functions to achieve unified management and result viewing of asynchronous tasks.
 
-### 2	Platform Workflow
+### 2 Deploy
+
+There are three ways to deplot `hugegraph-hubble`
+- Download the Toolchain binary package
+- Source code compilation
+- Use Docker
+
+#### 2.1 Download the Toolchain binary package
+
+`hubble` is in the `toolchain` project. First, download the binary tar tarball
+
+```bash
+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}
+```
+
+Run `hubble`
+
+```bash
+bin/start-hubble.sh
+```
+
+Then, we can see:
+
+```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 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)
+...
+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)
+```
+
+Then use a web browser to access `ip:8088` and you can see the `Hubble` page. You can stop the service using bin/stop-hubble.sh.
+
+#### 2.2 Source code compilation
+
+User should install `nodejs==16.x` and `yarn` firstly.
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+check the version is 16.x or not
+
+```bash
+node -v
+```
+
+install `yarn` by the command below:
+
+```bash
+npm install -g yarn
+```
+
+Download the toolchain source code.
+
+```shell
+git clone https://github.com/apache/hugegraph-toolchain.git
+```
+
+Compile `hubble`

Review Comment:
   ```suggestion
   Compile `hubble`. It depends on the loader and client, so you need to build these dependencies in advance during the compilation process (you can skip this step later).
   ```



##########
content/en/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,116 @@ By inputting the graph traversal language Gremlin, high-performance general anal
 
 For Gremlin tasks that need to traverse the whole graph, index creation and reconstruction and other time-consuming asynchronous tasks, the platform provides corresponding task management functions to achieve unified management and result viewing of asynchronous tasks.
 
-### 2	Platform Workflow
+### 2 Deploy
+
+There are three ways to deplot `hugegraph-hubble`
+- Download the Toolchain binary package
+- Source code compilation
+- Use Docker
+
+#### 2.1 Download the Toolchain binary package
+
+`hubble` is in the `toolchain` project. First, download the binary tar tarball
+
+```bash
+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}
+```
+
+Run `hubble`
+
+```bash
+bin/start-hubble.sh
+```
+
+Then, we can see:
+
+```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 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)
+...
+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)
+```
+
+Then use a web browser to access `ip:8088` and you can see the `Hubble` page. You can stop the service using bin/stop-hubble.sh.
+
+#### 2.2 Source code compilation
+
+User should install `nodejs==16.x` and `yarn` firstly.
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+check the version is 16.x or not

Review Comment:
   ```suggestion
   Then, verify that the installed Node.js version is 16.x (please note that higher Node versions may cause conflicts).
   ```



##########
content/en/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,116 @@ By inputting the graph traversal language Gremlin, high-performance general anal
 
 For Gremlin tasks that need to traverse the whole graph, index creation and reconstruction and other time-consuming asynchronous tasks, the platform provides corresponding task management functions to achieve unified management and result viewing of asynchronous tasks.
 
-### 2	Platform Workflow
+### 2 Deploy
+
+There are three ways to deplot `hugegraph-hubble`
+- Download the Toolchain binary package
+- Source code compilation
+- Use Docker
+
+#### 2.1 Download the Toolchain binary package
+
+`hubble` is in the `toolchain` project. First, download the binary tar tarball
+
+```bash
+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}
+```
+
+Run `hubble`
+
+```bash
+bin/start-hubble.sh
+```
+
+Then, we can see:
+
+```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 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)
+...
+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)
+```
+
+Then use a web browser to access `ip:8088` and you can see the `Hubble` page. You can stop the service using bin/stop-hubble.sh.
+
+#### 2.2 Source code compilation
+
+User should install `nodejs==16.x` and `yarn` firstly.

Review Comment:
   ```suggestion
   **Note**: Compiling Hubble requires the user's local environment to have Node.js V16.x and yarn installed.
   ```



-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-doc] imbajin commented on a diff in pull request #281: doc: add server preload and hubble deploy

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on code in PR #281:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/281#discussion_r1320945679


##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,115 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+`hubble`项目在`toolchain`项目中, 首先下载`toolchain`的tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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 源码编译
+
+需要用户提前安装`nodejs==16.x` 与 `yarn`
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+然后确认安装版本是否为16.x
+
+```bash
+node -v
+```
+
+使用下列命令安装 `yarn`
+
+```bash
+npm install -g yarn
+```
+
+下载toolchain源码包
+
+```shell
+git clone https://github.com/apache/hugegraph-toolchain.git
+```
+
+编译`hubble`

Review Comment:
   ```suggestion
   编译`hubble`, 它依赖 loader 和 client, 编译时需提前构建这些依赖 (后续可跳)
   ```



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,115 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+`hubble`项目在`toolchain`项目中, 首先下载`toolchain`的tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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 源码编译
+
+需要用户提前安装`nodejs==16.x` 与 `yarn`
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+然后确认安装版本是否为16.x

Review Comment:
   ```suggestion
   然后确认安装版本是否为 `16.x` (请注意过高的 Node 版本会产生冲突)
   ```



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,115 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+`hubble`项目在`toolchain`项目中, 首先下载`toolchain`的tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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 源码编译
+
+需要用户提前安装`nodejs==16.x` 与 `yarn`

Review Comment:
   ```suggestion
   **注意:** 编译 hubble 需要用户本地环境有安装 `Nodejs V16.x` 与 `yarn` 环境
   ```



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,115 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+`hubble`项目在`toolchain`项目中, 首先下载`toolchain`的tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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 源码编译
+
+需要用户提前安装`nodejs==16.x` 与 `yarn`
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+然后确认安装版本是否为16.x
+
+```bash
+node -v
+```
+
+使用下列命令安装 `yarn`
+
+```bash
+npm install -g yarn
+```
+
+下载toolchain源码包
+
+```shell
+git clone https://github.com/apache/hugegraph-toolchain.git
+```
+
+编译`hubble`

Review Comment:
   ```suggestion
   编译`hubble`, 它依赖 loader 和 client, 编译时需提前构建这些依赖 (后续可跳)
   ```



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,115 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+`hubble`项目在`toolchain`项目中, 首先下载`toolchain`的tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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 源码编译
+
+需要用户提前安装`nodejs==16.x` 与 `yarn`

Review Comment:
   ```suggestion
   **注意:** 编译 hubble 需要用户本地环境有安装 `Nodejs V16.x` 与 `yarn` 环境
   ```



##########
content/cn/docs/quickstart/hugegraph-hubble.md:
##########
@@ -32,7 +32,115 @@ HugeGraph是一款面向分析型,支持批量操作的图数据库系统,
 
 对于需要遍历全图的Gremlin任务,索引的创建与重建等耗时较长的异步任务,平台提供相应的任务管理功能,实现异步任务的统一的管理与结果查看。
 
-### 2	平台使用流程
+#### 2 部署
+
+有三种方式可以部署`hugegraph-hubble`
+- 下载 toolchain 二进制包
+- 源码编译
+- 使用docker
+
+#### 2.1 下载 toolchain 二进制包
+
+`hubble`项目在`toolchain`项目中, 首先下载`toolchain`的tar包
+
+```bash
+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`
+
+```bash
+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 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)
+...
+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 源码编译
+
+需要用户提前安装`nodejs==16.x` 与 `yarn`
+
+```bash
+apt install curl build-essential
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+source ~/.bashrc
+nvm install 16
+```
+
+然后确认安装版本是否为16.x

Review Comment:
   ```suggestion
   然后确认安装版本是否为 `16.x` (请注意过高的 Node 版本会产生冲突)
   ```



-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org