This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 13bf2e38 doc(quickstart): computer claim jdk11 (#317)
13bf2e38 is described below
commit 13bf2e3894576bad6a7e635f790b1b5476da497d
Author: simon824 <[email protected]>
AuthorDate: Thu Dec 28 06:13:28 2023 +0000
doc(quickstart): computer claim jdk11 (#317)
* doc: claim jdk11
* chore: copywriting adjustment 31b1ffc0e68dcf5ef0f8c8d18ec13eb838a08f9c
---
docs/_print/index.html | 30 ++++++++--------
docs/index.xml | 52 ++++++++++++++-------------
docs/quickstart/_print/index.html | 30 ++++++++--------
docs/quickstart/hugegraph-computer/index.html | 34 +++++++++---------
docs/quickstart/index.xml | 52 ++++++++++++++-------------
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
7 files changed, 105 insertions(+), 97 deletions(-)
diff --git a/docs/_print/index.html b/docs/_print/index.html
index a30505a4..63fd2626 100644
--- a/docs/_print/index.html
+++ b/docs/_print/index.html
@@ -1503,34 +1503,34 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># restore graph mode</span>
</span></span><span style=display:flex><span>./bin/hugegraph --url
http://127.0.0.1:8080 --graph hugegraph graph-mode-set -m NONE
</span></span></code></pre></div><h6 id=8-graph-migration>8. Graph
Migration</h6><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>./bin/hugegraph --url http://127.0.0.1:8080 --graph
hugegraph migrate --target-url http://127.0.0.1:8090 --target-graph hugegraph
-</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-e68a801476ae8ef5e45c79949a3a5e44>3.6 -
HugeGraph-Computer Quick Start</h1><h2 id=1-hugegraph-computer-overview>1
HugeGraph-Computer Overview</h2><p>The <a
href=https://github.com/apache/incubator-hugegraph-computer><code>HugeGraph-Computer</code></a>
is a distributed graph processing system for HugeGraph (OLAP). It is an
implementation of <a href=https://kowshik.github.io/JPregel/pregel_ [...]
+</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-e68a801476ae8ef5e45c79949a3a5e44>3.6 -
HugeGraph-Computer Quick Start</h1><h2 id=1-hugegraph-computer-overview>1
HugeGraph-Computer Overview</h2><p>The <a
href=https://github.com/apache/incubator-hugegraph-computer><code>HugeGraph-Computer</code></a>
is a distributed graph processing system for HugeGraph (OLAP). It is an
implementation of <a href=https://kowshik.github.io/JPregel/pregel_ [...]
</span></span><span style=display:flex><span>tar zxvf
apache-hugegraph-computer-incubating-<span style=color:#4e9a06>${</span><span
style=color:#000>version</span><span style=color:#4e9a06>}</span>.tar.gz -C
hugegraph-computer
-</span></span></code></pre></div><h4
id=22-clone-source-code-to-compile-and-package>2.2 Clone source code to compile
and package</h4><p>Clone the latest version of HugeGraph-Computer source
package:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>$ git clone
https://github.com/apache/hugegraph-computer.git
+</span></span></code></pre></div><h4
id=312-clone-source-code-to-compile-and-package>3.1.2 Clone source code to
compile and package</h4><p>Clone the latest version of HugeGraph-Computer
source package:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>$ git clone
https://github.com/apache/hugegraph-computer.git
</span></span></code></pre></div><p>Compile and generate tar package:</p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#204a87>cd</span> hugegraph-computer
</span></span><span style=display:flex><span>mvn clean package -DskipTests
-</span></span></code></pre></div><h4 id=23-start-master-node>2.3 Start master
node</h4><blockquote><p>You can use <code>-c</code> parameter specify the
configuration file, more computer config please see:<a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><s [...]
+</span></span></code></pre></div><h4 id=313-start-master-node>3.1.3 Start
master node</h4><blockquote><p>You can use <code>-c</code> parameter specify
the configuration file, more computer config please see:<a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span [...]
</span></span><span style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r master
-</span></span></code></pre></div><h4 id=24-start-worker-node>2.4 Start worker
node</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r worker
-</span></span></code></pre></div><h4 id=25-query-algorithm-results>2.5 Query
algorithm results</h4><p>2.5.1 Enable <code>OLAP</code> index query for
server</p><p>If OLAP index is not enabled, it needs to enable, more reference:
<a
href=/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges>modify-graphs-read-mode</a></p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
[...]
+</span></span></code></pre></div><h4 id=314-start-worker-node>3.1.4 Start
worker node</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r worker
+</span></span></code></pre></div><h4 id=315-query-algorithm-results>3.1.5
Query algorithm results</h4><p>3.1.5.1 Enable <code>OLAP</code> index query for
server</p><p>If OLAP index is not enabled, it needs to enable, more reference:
<a
href=/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges>modify-graphs-read-mode</a></p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4> [...]
</span></span></span><span style=display:flex><span><span style=color:#a40000>
</span></span></span><span style=display:flex><span><span
style=color:#a40000>"ALL"
-</span></span></span></code></pre></div><p>2.5.2 Query <code>page_rank</code>
property value:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>curl <span
style=color:#4e9a06>"http://localhost:8080/graphs/hugegraph/graph/vertices?page&limit=3"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><h3
id=22-run-pagerank-algorithm-in-kubernetes>2.2 Run PageRank algorithm in
Kubernetes</h3><blockquote><p>To run algorithm with HugeGraph-Computer you need
to deploy HugeGraph-Server first</p></blockquote><h4
id=221-install-hugegraph-computer-crd>2.2.1 Install HugeGraph-Computer
CRD</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display: [...]
+</span></span></span></code></pre></div><p>3.1.5.2 Query
<code>page_rank</code> property value:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>curl <span
style=color:#4e9a06>"http://localhost:8080/graphs/hugegraph/graph/vertices?page&limit=3"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
+</span></span></code></pre></div><h3
id=32-run-pagerank-algorithm-in-kubernetes>3.2 Run PageRank algorithm in
Kubernetes</h3><blockquote><p>To run algorithm with HugeGraph-Computer you need
to deploy HugeGraph-Server first</p></blockquote><h4
id=321-install-hugegraph-computer-crd>3.2.1 Install HugeGraph-Computer
CRD</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display: [...]
</span></span><span style=display:flex><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Kubernetes version < v1.16</span>
</span></span><span style=display:flex><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml
-</span></span></code></pre></div><h4 id=222-show-crd>2.2.2 Show CRD</h4><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
crd
+</span></span></code></pre></div><h4 id=322-show-crd>3.2.2 Show CRD</h4><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
crd
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME
CREATED AT
</span></span><span
style=display:flex><span>hugegraphcomputerjobs.hugegraph.apache.org
2021-09-16T08:01:08Z
-</span></span></code></pre></div><h4
id=223-install-hugegraph-computer-operatoretcd-server>2.2.3 Install
hugegraph-computer-operator&etcd-server</h4><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl apply
-f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
-</span></span></code></pre></div><h4
id=224-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete>2.2.4
Wait for hugegraph-computer-operator&etcd-server deployment to
complete</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
pod -n hugegraph-computer-operator-system
+</span></span></code></pre></div><h4
id=323-install-hugegraph-computer-operatoretcd-server>3.2.3 Install
hugegraph-computer-operator&etcd-server</h4><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl apply
-f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
+</span></span></code></pre></div><h4
id=324-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete>3.2.4
Wait for hugegraph-computer-operator&etcd-server deployment to
complete</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
pod -n hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME
READY STATUS RESTARTS AGE
</span></span><span
style=display:flex><span>hugegraph-computer-operator-controller-manager-58c5545949-jqvzl
1/1 Running <span style=color:#0000cf;font-weight:700>0</span>
15h
</span></span><span
style=display:flex><span>hugegraph-computer-operator-etcd-28lm67jxk5
1/1 Running <span style=color:#0000cf;font-weight:700>0</span>
15h
-</span></span></code></pre></div><h4 id=225-submit-job>2.2.5 Submit
job</h4><blockquote><p>More computer crd please see: <a
href=/docs/config/config-computer#hugegraph-computer-crd>Computer
CRD</a></p><p>More computer config please see: <a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-yaml data-lang=yaml> [...]
+</span></span></code></pre></div><h4 id=325-submit-job>3.2.5 Submit
job</h4><blockquote><p>More computer crd please see: <a
href=/docs/config/config-computer#hugegraph-computer-crd>Computer
CRD</a></p><p>More computer config please see: <a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-yaml data-lang=yaml> [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>apiVersion</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>hugegraph.apache.org/v1</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>kind</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>HugeGraphComputerJob</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>metadata</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline>
@@ -1551,11 +1551,11 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>hugegraph.url</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>http://${hugegraph-server-host}:${hugegraph-server-port}</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#8f5902;font-style:italic># hugegraph server [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>hugegraph.name</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>hugegraph</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#8f5902;font-style:italic># hugegraph graph name</span><span
style=color:#f8f8f8;text-deco [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#000>EOF</span><span style=color:#f8f8f8;text-decoration:underline>
-</span></span></span></code></pre></div><h4 id=226-show-job>2.2.6 Show
job</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
hcjob/pagerank-sample -n hugegraph-computer-operator-system
+</span></span></span></code></pre></div><h4 id=326-show-job>3.2.6 Show
job</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
hcjob/pagerank-sample -n hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME JOBID
JOBSTATUS
</span></span><span style=display:flex><span>pagerank-sample
pagerank-sample RUNNING
-</span></span></code></pre></div><h4 id=227-show-log-of-nodes>2.2.7 Show log
of nodes</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the master log</span>
+</span></span></code></pre></div><h4 id=327-show-log-of-nodes>3.2.7 Show log
of nodes</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the master log</span>
</span></span><span style=display:flex><span>kubectl logs -l <span
style=color:#000>component</span><span
style=color:#ce5c00;font-weight:700>=</span>pagerank-sample-master -n
hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the worker log</span>
@@ -1564,8 +1564,8 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show diagnostic log of a job</span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># NOTE: diagnostic log exist only when
the job fails, and it will only be saved for one hour.</span>
</span></span><span style=display:flex><span>kubectl get event
--field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>ComputerJobFailed --field-selector
involvedObject.name<span
style=color:#ce5c00;font-weight:700>=</span>pagerank-sample -n
hugegraph-computer-operator-system
-</span></span></code></pre></div><h4 id=228-show-success-event-of-a-job>2.2.8
Show success event of a job</h4><blockquote><p>NOTE: it will only be saved for
one hour</p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
event --field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>Computer [...]
-</span></span></code></pre></div><h4 id=229-query-algorithm-results>2.2.9
Query algorithm results</h4><p>If the output to <code>Hugegraph-Server</code>
is consistent with Locally, if output to <code>HDFS</code>, please check the
result file in the directory of
<code>/hugegraph-computer/results/{jobId}</code> directory.</p><h2
id=3-built-in-algorithms-document>3 Built-In algorithms document</h2><h3
id=31-supported-algorithms-list>3.1 Supported algorithms list:</h3><h6
id=centrality-algori [...]
+</span></span></code></pre></div><h4 id=328-show-success-event-of-a-job>3.2.8
Show success event of a job</h4><blockquote><p>NOTE: it will only be saved for
one hour</p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
event --field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>Computer [...]
+</span></span></code></pre></div><h4 id=329-query-algorithm-results>3.2.9
Query algorithm results</h4><p>If the output to <code>Hugegraph-Server</code>
is consistent with Locally, if output to <code>HDFS</code>, please check the
result file in the directory of
<code>/hugegraph-computer/results/{jobId}</code> directory.</p><h2
id=4-built-in-algorithms-document>4 Built-In algorithms document</h2><h3
id=41-supported-algorithms-list>4.1 Supported algorithms list:</h3><h6
id=centrality-algori [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#8f5902;font-style:italic>#host: 127.0.0.1</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#8f5902;font-style:italic>#port: 8182</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline>
diff --git a/docs/index.xml b/docs/index.xml
index af64ac32..63d4316d 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -10651,8 +10651,12 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
<li>You can output the results to HDFS or HugeGraph, or any other
system.</li>
<li>Easy to develop a new algorithm. You just need to focus on a vertex
only processing just like as in a single server, without worrying about message
transfer and memory/storage management.</li>
</ul>
-<h2 id="2-get-started">2 Get Started</h2>
-<h3 id="21-run-pagerank-algorithm-locally">2.1 Run PageRank algorithm
locally</h3>
+<h2 id="2-dependency-for-buildingrunning">2 Dependency for
Building/Running</h2>
+<h3 id="21-install-java-11-jdk-11">2.1 Install Java 11 (JDK 11)</h3>
+<p>Required to use Java 11 to run <code>HugeGraph-Computer</code>
(<strong>not compatible with Java 8 now!!!</strong>), and configure by
yourself.</p>
+<p><strong>Be sure to execute the <code>java -version</code>
command to check the jdk version before reading</strong></p>
+<h2 id="3-get-started">3 Get Started</h2>
+<h3 id="31-run-pagerank-algorithm-locally">3.1 Run PageRank algorithm
locally</h3>
<blockquote>
<p>To run algorithm with HugeGraph-Computer, you need to install 64-bit
Java 11 or later versions.</p>
<p>You also need to deploy HugeGraph-Server and <a
href="https://etcd.io/docs/v3.5/quickstart/">Etcd</a>.</p>
@@ -10662,56 +10666,56 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
<li>Download the compiled tarball</li>
<li>Clone source code then compile and package</li>
</ul>
-<h4 id="21-download-the-compiled-archive">2.1 Download the compiled
archive</h4>
+<h4 id="311-download-the-compiled-archive">3.1.1 Download the compiled
archive</h4>
<p>Download the latest version of the HugeGraph-Computer release
package:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>wget
https://downloads.apache.org/incubator/hugegraph/<span
style="color:#4e9a06">${</span><span
style="color:#000">version</span><span
style="color:#4e9a06">}</span>/apache-hugegraph-computer-incubating-<span
style="color:#4e9a06">${</span><span style="c [...]
</span></span><span style="display:flex;"><span>tar zxvf
apache-hugegraph-computer-incubating-<span
style="color:#4e9a06">${</span><span
style="color:#000">version</span><span
style="color:#4e9a06">}</span>.tar.gz -C hugegraph-computer
-</span></span></code></pre></div><h4
id="22-clone-source-code-to-compile-and-package">2.2 Clone source code to
compile and package</h4>
+</span></span></code></pre></div><h4
id="312-clone-source-code-to-compile-and-package">3.1.2 Clone source code to
compile and package</h4>
<p>Clone the latest version of HugeGraph-Computer source package:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>$ git clone
https://github.com/apache/hugegraph-computer.git
</span></span></code></pre></div><p>Compile and generate tar
package:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span style="color:#204a87">cd</span>
hugegraph-computer
</span></span><span style="display:flex;"><span>mvn clean package
-DskipTests
-</span></span></code></pre></div><h4
id="23-start-master-node">2.3 Start master node</h4>
+</span></span></code></pre></div><h4
id="313-start-master-node">3.1.3 Start master node</h4>
<blockquote>
<p>You can use <code>-c</code> parameter specify the configuration
file, more computer config please see:<a
href="/docs/config/config-computer#computer-config-options">Computer Config
Options</a></p>
</blockquote>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span style="color:#204a87">cd</span>
hugegraph-computer
</span></span><span
style="display:flex;"><span>bin/start-computer.sh -d <span
style="color:#204a87">local</span> -r master
-</span></span></code></pre></div><h4
id="24-start-worker-node">2.4 Start worker node</h4>
+</span></span></code></pre></div><h4
id="314-start-worker-node">3.1.4 Start worker node</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>bin/start-computer.sh -d <span
style="color:#204a87">local</span> -r worker
-</span></span></code></pre></div><h4
id="25-query-algorithm-results">2.5 Query algorithm results</h4>
-<p>2.5.1 Enable <code>OLAP</code> index query for server</p>
+</span></span></code></pre></div><h4
id="315-query-algorithm-results">3.1.5 Query algorithm results</h4>
+<p>3.1.5.1 Enable <code>OLAP</code> index query for server</p>
<p>If OLAP index is not enabled, it needs to enable, more reference: <a
href="/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges">modify-graphs-read-mode</a></p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-http" data-lang="http"><span
style="display:flex;"><span><span style="color:#a40000">PUT
http://localhost:8080/graphs/hugegraph/graph_read_mode
</span></span></span><span style="display:flex;"><span><span
style="color:#a40000">
</span></span></span><span style="display:flex;"><span><span
style="color:#a40000">&#34;ALL&#34;
-</span></span></span></code></pre></div><p>2.5.2 Query
<code>page_rank</code> property value:</p>
+</span></span></span></code></pre></div><p>3.1.5.2 Query
<code>page_rank</code> property value:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>curl <span
style="color:#4e9a06">&#34;http://localhost:8080/graphs/hugegraph/graph/vertices?page&amp;limit=3&#34;</span>
<span style="color:#000;font-weight:bold">|</span> gunzip
-</span></span></code></pre></div><h3
id="22-run-pagerank-algorithm-in-kubernetes">2.2 Run PageRank algorithm in
Kubernetes</h3>
+</span></span></code></pre></div><h3
id="32-run-pagerank-algorithm-in-kubernetes">3.2 Run PageRank algorithm in
Kubernetes</h3>
<blockquote>
<p>To run algorithm with HugeGraph-Computer you need to deploy
HugeGraph-Server first</p>
</blockquote>
-<h4 id="221-install-hugegraph-computer-crd">2.2.1 Install
HugeGraph-Computer CRD</h4>
+<h4 id="321-install-hugegraph-computer-crd">3.2.1 Install
HugeGraph-Computer CRD</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Kubernetes version &gt;=
v1.16</span>
</span></span><span style="display:flex;"><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Kubernetes version &lt;
v1.16</span>
</span></span><span style="display:flex;"><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml
-</span></span></code></pre></div><h4 id="222-show-crd">2.2.2
Show CRD</h4>
+</span></span></code></pre></div><h4 id="322-show-crd">3.2.2
Show CRD</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get crd
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>NAME CREATED AT
</span></span><span
style="display:flex;"><span>hugegraphcomputerjobs.hugegraph.apache.org
2021-09-16T08:01:08Z
-</span></span></code></pre></div><h4
id="223-install-hugegraph-computer-operatoretcd-server">2.2.3 Install
hugegraph-computer-operator&amp;etcd-server</h4>
+</span></span></code></pre></div><h4
id="323-install-hugegraph-computer-operatoretcd-server">3.2.3 Install
hugegraph-computer-operator&amp;etcd-server</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
-</span></span></code></pre></div><h4
id="224-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete">2.2.4
Wait for hugegraph-computer-operator&amp;etcd-server deployment to
complete</h4>
+</span></span></code></pre></div><h4
id="324-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete">3.2.4
Wait for hugegraph-computer-operator&amp;etcd-server deployment to
complete</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get pod -n
hugegraph-computer-operator-system
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>NAME READY STATUS
RESTARTS AGE
</span></span><span
style="display:flex;"><span>hugegraph-computer-operator-controller-manager-58c5545949-jqvzl
1/1 Running <span style="color:#0000cf;font-weight:bold">0</span> 15h
</span></span><span
style="display:flex;"><span>hugegraph-computer-operator-etcd-28lm67jxk5 1/1
Running <span style="color:#0000cf;font-weight:bold">0</span> 15h
-</span></span></code></pre></div><h4
id="225-submit-job">2.2.5 Submit job</h4>
+</span></span></code></pre></div><h4
id="325-submit-job">3.2.5 Submit job</h4>
<blockquote>
<p>More computer crd please see: <a
href="/docs/config/config-computer#hugegraph-computer-crd">Computer
CRD</a></p>
<p>More computer config please see: <a
href="/docs/config/config-computer#computer-config-options">Computer Config
Options</a></p>
@@ -10737,12 +10741,12 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
</span></span></span><span style="display:flex;"><span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#204a87;font-weight:bold">hugegraph.url</span><span
style="color:#000;font-weight:bold">:</span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#000">http://${hugegraph-server-host}:${hugegraph-server-port}</span><span
style="color:#f8f8f8;text-decoration:underline"> </sp [...]
</span></span></span><span style="display:flex;"><span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#204a87;font-weight:bold">hugegraph.name</span><span
style="color:#000;font-weight:bold">:</span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#000">hugegraph</span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#8f5902;font-style:it [...]
</span></span></span><span style="display:flex;"><span><span
style="color:#f8f8f8;text-decoration:underline"></span><span
style="color:#000">EOF</span><span
style="color:#f8f8f8;text-decoration:underline">
-</span></span></span></code></pre></div><h4
id="226-show-job">2.2.6 Show job</h4>
+</span></span></span></code></pre></div><h4
id="326-show-job">3.2.6 Show job</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get hcjob/pagerank-sample -n
hugegraph-computer-operator-system
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>NAME JOBID
JOBSTATUS
</span></span><span style="display:flex;"><span>pagerank-sample
pagerank-sample RUNNING
-</span></span></code></pre></div><h4
id="227-show-log-of-nodes">2.2.7 Show log of nodes</h4>
+</span></span></code></pre></div><h4
id="327-show-log-of-nodes">3.2.7 Show log of nodes</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Show the master log</span>
</span></span><span style="display:flex;"><span>kubectl logs -l
<span style="color:#000">component</span><span
style="color:#ce5c00;font-weight:bold">=</span>pagerank-sample-master -n
hugegraph-computer-operator-system
</span></span><span style="display:flex;"><span>
@@ -10752,15 +10756,15 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
</span></span><span style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Show diagnostic log of a job</span>
</span></span><span style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># NOTE: diagnostic log exist only when
the job fails, and it will only be saved for one hour.</span>
</span></span><span style="display:flex;"><span>kubectl get event
--field-selector <span style="color:#000">reason</span><span
style="color:#ce5c00;font-weight:bold">=</span>ComputerJobFailed
--field-selector involvedObject.name<span
style="color:#ce5c00;font-weight:bold">=</span>pagerank-sample -n
hugegraph-computer-operator-system
-</span></span></code></pre></div><h4
id="228-show-success-event-of-a-job">2.2.8 Show success event of a job</h4>
+</span></span></code></pre></div><h4
id="328-show-success-event-of-a-job">3.2.8 Show success event of a job</h4>
<blockquote>
<p>NOTE: it will only be saved for one hour</p>
</blockquote>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get event --field-selector <span
style="color:#000">reason</span><span
style="color:#ce5c00;font-weight:bold">=</span>ComputerJobSucceed
--field-selector involvedObject.name<span
style="color:#ce5c00;font-weight:bold">=</span>pagerank-sample -n
hugegraph-c [...]
-</span></span></code></pre></div><h4
id="229-query-algorithm-results">2.2.9 Query algorithm results</h4>
+</span></span></code></pre></div><h4
id="329-query-algorithm-results">3.2.9 Query algorithm results</h4>
<p>If the output to <code>Hugegraph-Server</code> is consistent with
Locally, if output to <code>HDFS</code>, please check the result file in
the directory of <code>/hugegraph-computer/results/{jobId}</code>
directory.</p>
-<h2 id="3-built-in-algorithms-document">3 Built-In algorithms
document</h2>
-<h3 id="31-supported-algorithms-list">3.1 Supported algorithms list:</h3>
+<h2 id="4-built-in-algorithms-document">4 Built-In algorithms
document</h2>
+<h3 id="41-supported-algorithms-list">4.1 Supported algorithms list:</h3>
<h6 id="centrality-algorithm">Centrality Algorithm:</h6>
<ul>
<li>PageRank</li>
@@ -10782,11 +10786,11 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
<li>RingsDetectionWithFilter</li>
</ul>
<p>More algorithms please see: <a
href="https://github.com/apache/hugegraph-computer/tree/master/computer-algorithm/src/main/java/org/apache/hugegraph/computer/algorithm">Built-In
algorithms</a></p>
-<h3 id="32-algorithm-describe">3.2 Algorithm describe</h3>
+<h3 id="42-algorithm-describe">4.2 Algorithm describe</h3>
<p>TODO</p>
-<h2 id="4-algorithm-development-guide">4 Algorithm development guide</h2>
+<h2 id="5-algorithm-development-guide">5 Algorithm development guide</h2>
<p>TODO</p>
-<h2 id="5-note">5 Note</h2>
+<h2 id="6-note">6 Note</h2>
<ul>
<li>If some classes under computer-k8s cannot be found, you need to execute
<code>mvn compile</code> in advance to generate corresponding
classes.</li>
</ul></description></item><item><title>Docs: Rebuild
API</title><link>/docs/clients/restful-api/rebuild/</link><pubDate>Mon, 01 Jan
0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/rebuild/</guid><description>
diff --git a/docs/quickstart/_print/index.html
b/docs/quickstart/_print/index.html
index 270b493e..72364f2e 100644
--- a/docs/quickstart/_print/index.html
+++ b/docs/quickstart/_print/index.html
@@ -1498,34 +1498,34 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># restore graph mode</span>
</span></span><span style=display:flex><span>./bin/hugegraph --url
http://127.0.0.1:8080 --graph hugegraph graph-mode-set -m NONE
</span></span></code></pre></div><h6 id=8-graph-migration>8. Graph
Migration</h6><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>./bin/hugegraph --url http://127.0.0.1:8080 --graph
hugegraph migrate --target-url http://127.0.0.1:8090 --target-graph hugegraph
-</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-e68a801476ae8ef5e45c79949a3a5e44>6 -
HugeGraph-Computer Quick Start</h1><h2 id=1-hugegraph-computer-overview>1
HugeGraph-Computer Overview</h2><p>The <a
href=https://github.com/apache/incubator-hugegraph-computer><code>HugeGraph-Computer</code></a>
is a distributed graph processing system for HugeGraph (OLAP). It is an
implementation of <a href=https://kowshik.github.io/JPregel/pregel_pa [...]
+</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-e68a801476ae8ef5e45c79949a3a5e44>6 -
HugeGraph-Computer Quick Start</h1><h2 id=1-hugegraph-computer-overview>1
HugeGraph-Computer Overview</h2><p>The <a
href=https://github.com/apache/incubator-hugegraph-computer><code>HugeGraph-Computer</code></a>
is a distributed graph processing system for HugeGraph (OLAP). It is an
implementation of <a href=https://kowshik.github.io/JPregel/pregel_pa [...]
</span></span><span style=display:flex><span>tar zxvf
apache-hugegraph-computer-incubating-<span style=color:#4e9a06>${</span><span
style=color:#000>version</span><span style=color:#4e9a06>}</span>.tar.gz -C
hugegraph-computer
-</span></span></code></pre></div><h4
id=22-clone-source-code-to-compile-and-package>2.2 Clone source code to compile
and package</h4><p>Clone the latest version of HugeGraph-Computer source
package:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>$ git clone
https://github.com/apache/hugegraph-computer.git
+</span></span></code></pre></div><h4
id=312-clone-source-code-to-compile-and-package>3.1.2 Clone source code to
compile and package</h4><p>Clone the latest version of HugeGraph-Computer
source package:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>$ git clone
https://github.com/apache/hugegraph-computer.git
</span></span></code></pre></div><p>Compile and generate tar package:</p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#204a87>cd</span> hugegraph-computer
</span></span><span style=display:flex><span>mvn clean package -DskipTests
-</span></span></code></pre></div><h4 id=23-start-master-node>2.3 Start master
node</h4><blockquote><p>You can use <code>-c</code> parameter specify the
configuration file, more computer config please see:<a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><s [...]
+</span></span></code></pre></div><h4 id=313-start-master-node>3.1.3 Start
master node</h4><blockquote><p>You can use <code>-c</code> parameter specify
the configuration file, more computer config please see:<a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span [...]
</span></span><span style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r master
-</span></span></code></pre></div><h4 id=24-start-worker-node>2.4 Start worker
node</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r worker
-</span></span></code></pre></div><h4 id=25-query-algorithm-results>2.5 Query
algorithm results</h4><p>2.5.1 Enable <code>OLAP</code> index query for
server</p><p>If OLAP index is not enabled, it needs to enable, more reference:
<a
href=/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges>modify-graphs-read-mode</a></p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
[...]
+</span></span></code></pre></div><h4 id=314-start-worker-node>3.1.4 Start
worker node</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r worker
+</span></span></code></pre></div><h4 id=315-query-algorithm-results>3.1.5
Query algorithm results</h4><p>3.1.5.1 Enable <code>OLAP</code> index query for
server</p><p>If OLAP index is not enabled, it needs to enable, more reference:
<a
href=/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges>modify-graphs-read-mode</a></p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4> [...]
</span></span></span><span style=display:flex><span><span style=color:#a40000>
</span></span></span><span style=display:flex><span><span
style=color:#a40000>"ALL"
-</span></span></span></code></pre></div><p>2.5.2 Query <code>page_rank</code>
property value:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>curl <span
style=color:#4e9a06>"http://localhost:8080/graphs/hugegraph/graph/vertices?page&limit=3"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><h3
id=22-run-pagerank-algorithm-in-kubernetes>2.2 Run PageRank algorithm in
Kubernetes</h3><blockquote><p>To run algorithm with HugeGraph-Computer you need
to deploy HugeGraph-Server first</p></blockquote><h4
id=221-install-hugegraph-computer-crd>2.2.1 Install HugeGraph-Computer
CRD</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display: [...]
+</span></span></span></code></pre></div><p>3.1.5.2 Query
<code>page_rank</code> property value:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>curl <span
style=color:#4e9a06>"http://localhost:8080/graphs/hugegraph/graph/vertices?page&limit=3"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
+</span></span></code></pre></div><h3
id=32-run-pagerank-algorithm-in-kubernetes>3.2 Run PageRank algorithm in
Kubernetes</h3><blockquote><p>To run algorithm with HugeGraph-Computer you need
to deploy HugeGraph-Server first</p></blockquote><h4
id=321-install-hugegraph-computer-crd>3.2.1 Install HugeGraph-Computer
CRD</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display: [...]
</span></span><span style=display:flex><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Kubernetes version < v1.16</span>
</span></span><span style=display:flex><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml
-</span></span></code></pre></div><h4 id=222-show-crd>2.2.2 Show CRD</h4><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
crd
+</span></span></code></pre></div><h4 id=322-show-crd>3.2.2 Show CRD</h4><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
crd
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME
CREATED AT
</span></span><span
style=display:flex><span>hugegraphcomputerjobs.hugegraph.apache.org
2021-09-16T08:01:08Z
-</span></span></code></pre></div><h4
id=223-install-hugegraph-computer-operatoretcd-server>2.2.3 Install
hugegraph-computer-operator&etcd-server</h4><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl apply
-f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
-</span></span></code></pre></div><h4
id=224-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete>2.2.4
Wait for hugegraph-computer-operator&etcd-server deployment to
complete</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
pod -n hugegraph-computer-operator-system
+</span></span></code></pre></div><h4
id=323-install-hugegraph-computer-operatoretcd-server>3.2.3 Install
hugegraph-computer-operator&etcd-server</h4><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl apply
-f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
+</span></span></code></pre></div><h4
id=324-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete>3.2.4
Wait for hugegraph-computer-operator&etcd-server deployment to
complete</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
pod -n hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME
READY STATUS RESTARTS AGE
</span></span><span
style=display:flex><span>hugegraph-computer-operator-controller-manager-58c5545949-jqvzl
1/1 Running <span style=color:#0000cf;font-weight:700>0</span>
15h
</span></span><span
style=display:flex><span>hugegraph-computer-operator-etcd-28lm67jxk5
1/1 Running <span style=color:#0000cf;font-weight:700>0</span>
15h
-</span></span></code></pre></div><h4 id=225-submit-job>2.2.5 Submit
job</h4><blockquote><p>More computer crd please see: <a
href=/docs/config/config-computer#hugegraph-computer-crd>Computer
CRD</a></p><p>More computer config please see: <a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-yaml data-lang=yaml> [...]
+</span></span></code></pre></div><h4 id=325-submit-job>3.2.5 Submit
job</h4><blockquote><p>More computer crd please see: <a
href=/docs/config/config-computer#hugegraph-computer-crd>Computer
CRD</a></p><p>More computer config please see: <a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-yaml data-lang=yaml> [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>apiVersion</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>hugegraph.apache.org/v1</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>kind</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>HugeGraphComputerJob</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>metadata</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline>
@@ -1546,11 +1546,11 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>hugegraph.url</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>http://${hugegraph-server-host}:${hugegraph-server-port}</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#8f5902;font-style:italic># hugegraph server [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>hugegraph.name</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>hugegraph</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#8f5902;font-style:italic># hugegraph graph name</span><span
style=color:#f8f8f8;text-deco [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#000>EOF</span><span style=color:#f8f8f8;text-decoration:underline>
-</span></span></span></code></pre></div><h4 id=226-show-job>2.2.6 Show
job</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
hcjob/pagerank-sample -n hugegraph-computer-operator-system
+</span></span></span></code></pre></div><h4 id=326-show-job>3.2.6 Show
job</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
hcjob/pagerank-sample -n hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME JOBID
JOBSTATUS
</span></span><span style=display:flex><span>pagerank-sample
pagerank-sample RUNNING
-</span></span></code></pre></div><h4 id=227-show-log-of-nodes>2.2.7 Show log
of nodes</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the master log</span>
+</span></span></code></pre></div><h4 id=327-show-log-of-nodes>3.2.7 Show log
of nodes</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the master log</span>
</span></span><span style=display:flex><span>kubectl logs -l <span
style=color:#000>component</span><span
style=color:#ce5c00;font-weight:700>=</span>pagerank-sample-master -n
hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the worker log</span>
@@ -1559,8 +1559,8 @@ Implement a class inherited from <code>Formatter</code>
in the directory, such a
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show diagnostic log of a job</span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># NOTE: diagnostic log exist only when
the job fails, and it will only be saved for one hour.</span>
</span></span><span style=display:flex><span>kubectl get event
--field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>ComputerJobFailed --field-selector
involvedObject.name<span
style=color:#ce5c00;font-weight:700>=</span>pagerank-sample -n
hugegraph-computer-operator-system
-</span></span></code></pre></div><h4 id=228-show-success-event-of-a-job>2.2.8
Show success event of a job</h4><blockquote><p>NOTE: it will only be saved for
one hour</p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
event --field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>Computer [...]
-</span></span></code></pre></div><h4 id=229-query-algorithm-results>2.2.9
Query algorithm results</h4><p>If the output to <code>Hugegraph-Server</code>
is consistent with Locally, if output to <code>HDFS</code>, please check the
result file in the directory of
<code>/hugegraph-computer/results/{jobId}</code> directory.</p><h2
id=3-built-in-algorithms-document>3 Built-In algorithms document</h2><h3
id=31-supported-algorithms-list>3.1 Supported algorithms list:</h3><h6
id=centrality-algori [...]
+</span></span></code></pre></div><h4 id=328-show-success-event-of-a-job>3.2.8
Show success event of a job</h4><blockquote><p>NOTE: it will only be saved for
one hour</p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
event --field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>Computer [...]
+</span></span></code></pre></div><h4 id=329-query-algorithm-results>3.2.9
Query algorithm results</h4><p>If the output to <code>Hugegraph-Server</code>
is consistent with Locally, if output to <code>HDFS</code>, please check the
result file in the directory of
<code>/hugegraph-computer/results/{jobId}</code> directory.</p><h2
id=4-built-in-algorithms-document>4 Built-In algorithms document</h2><h3
id=41-supported-algorithms-list>4.1 Supported algorithms list:</h3><h6
id=centrality-algori [...]
<script
src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js
integrity="sha512-UR25UO94eTnCVwjbXozyeVd6ZqpaAE9naiEUBK/A+QDbfSTQFhPGj5lOR6d8tsgbBk84Ggb5A3EkjsOgPRPcKA=="
crossorigin=anonymous></script>
<script src=/js/tabpane-persist.js></script>
<script
src=/js/main.min.aa9f4c5dae6a98b2c46277f4c56f1673a2b000d1756ce4ffae93784cab25e6d5.js
integrity="sha256-qp9MXa5qmLLEYnf0xW8Wc6KwANF1bOT/rpN4TKsl5tU="
crossorigin=anonymous></script>
diff --git a/docs/quickstart/hugegraph-computer/index.html
b/docs/quickstart/hugegraph-computer/index.html
index 2053bebe..1576d785 100644
--- a/docs/quickstart/hugegraph-computer/index.html
+++ b/docs/quickstart/hugegraph-computer/index.html
@@ -1,41 +1,41 @@
<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.102.3"><meta name=robots content="index,
follow"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
The HugeGraph-Computer is a distributed graph processing system for HugeGraph
(OLAP). It is an implementation of Pregel. …"><meta property="og:title"
content="HugeGraph-Computer Quick Start"><meta property="og:description"
content="1 HugeGraph-Computer Overview The HugeGraph-Computer is a distributed
graph processing system for HugeGraph (OLAP). It is an implementation of
Pregel. It runs on Kubernetes framework.
-Features Support distributed MPP graph computing, and integrates with
HugeGraph as graph input/output storage. Based on BSP(Bulk Synchronous
Parallel) model, an algorithm performs computing through multiple parallel
iterations, every iteration is a superstep. Auto memory management. The
framework will never be OOM(Out of Memory) since it will split some data to
disk if it doesn’t have enough memory to hold all the data."><meta
property="og:type" content="article"><meta property="og [...]
-Features Support distributed MPP graph computing, and integrates with
HugeGraph as graph input/output storage. Based on BSP(Bulk Synchronous
Parallel) model, an algorithm performs computing through multiple parallel
iterations, every iteration is a superstep. Auto memory management. The
framework will never be OOM(Out of Memory) since it will split some data to
disk if it doesn’t have enough memory to hold all the data."><meta
itemprop=dateModified content="2023-11-03T16:50:31+08:0 [...]
+Features Support distributed MPP graph computing, and integrates with
HugeGraph as graph input/output storage. Based on BSP(Bulk Synchronous
Parallel) model, an algorithm performs computing through multiple parallel
iterations, every iteration is a superstep. Auto memory management. The
framework will never be OOM(Out of Memory) since it will split some data to
disk if it doesn’t have enough memory to hold all the data."><meta
property="og:type" content="article"><meta property="og [...]
+Features Support distributed MPP graph computing, and integrates with
HugeGraph as graph input/output storage. Based on BSP(Bulk Synchronous
Parallel) model, an algorithm performs computing through multiple parallel
iterations, every iteration is a superstep. Auto memory management. The
framework will never be OOM(Out of Memory) since it will split some data to
disk if it doesn’t have enough memory to hold all the data."><meta
itemprop=dateModified content="2023-12-28T14:12:57+08:0 [...]
Features Support distributed MPP graph computing, and integrates with
HugeGraph as graph input/output storage. Based on BSP(Bulk Synchronous
Parallel) model, an algorithm performs computing through multiple parallel
iterations, every iteration is a superstep. Auto memory management. The
framework will never be OOM(Out of Memory) since it will split some data to
disk if it doesn’t have enough memory to hold all the data."><link
rel=preload href=/scss/main.min.1764bdd1b00b15c82ea08e6 [...]
<link rel=stylesheet href=/css/prism.css><script
type=application/javascript>var
doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new
Date,ga("create","UA-00000000-0","auto"),ga("send","pageview"))</script><script
async src=https://www.google-analytics.com/analytics.js></script></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/><sp
[...]
<a
href=https://github.com/apache/incubator-hugegraph-doc/edit/master/content/en/docs/quickstart/hugegraph-computer.md
class=td-page-meta--edit target=_blank rel=noopener><i class="fa fa-edit
fa-fw"></i> Edit this page</a>
<a
href="https://github.com/apache/incubator-hugegraph-doc/new/master/content/en/docs/quickstart/hugegraph-computer.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+m
[...]
<a
href="https://github.com/apache/incubator-hugegraph-doc/issues/new?title=HugeGraph-Computer%20Quick%20Start"
class=td-page-meta--issue target=_blank rel=noopener><i class="fab fa-github
fa-fw"></i> Create documentation issue</a>
<a href=https://github.com/apache/incubator-hugegraph/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fas
fa-tasks fa-fw"></i> Create project issue</a>
-<a id=print href=/docs/quickstart/_print/><i class="fa fa-print fa-fw"></i>
Print entire section</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a href=#1-hugegraph-computer-overview>1
HugeGraph-Computer Overview</a><ul><li><a
href=#features>Features</a></li></ul></li><li><a href=#2-get-started>2 Get
Started</a><ul><li><a href=#21-run-pagerank-algorithm-locally>2.1 Run PageRank
algorithm locally</a></li><li><a
href=#22-run-pagerank-algorithm-in-kubernetes>2.2 Run PageRank alg [...]
+<a id=print href=/docs/quickstart/_print/><i class="fa fa-print fa-fw"></i>
Print entire section</a></div><div class=td-toc><nav
id=TableOfContents><ul><li><a href=#1-hugegraph-computer-overview>1
HugeGraph-Computer Overview</a><ul><li><a
href=#features>Features</a></li></ul></li><li><a
href=#2-dependency-for-buildingrunning>2 Dependency for
Building/Running</a><ul><li><a href=#21-install-java-11-jdk-11>2.1 Install Java
11 (JDK 11)</a></li></ul></li><li><a href=#3-get-started>3 Get Start [...]
</span></span><span style=display:flex><span>tar zxvf
apache-hugegraph-computer-incubating-<span style=color:#4e9a06>${</span><span
style=color:#000>version</span><span style=color:#4e9a06>}</span>.tar.gz -C
hugegraph-computer
-</span></span></code></pre></div><h4
id=22-clone-source-code-to-compile-and-package>2.2 Clone source code to compile
and package</h4><p>Clone the latest version of HugeGraph-Computer source
package:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>$ git clone
https://github.com/apache/hugegraph-computer.git
+</span></span></code></pre></div><h4
id=312-clone-source-code-to-compile-and-package>3.1.2 Clone source code to
compile and package</h4><p>Clone the latest version of HugeGraph-Computer
source package:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>$ git clone
https://github.com/apache/hugegraph-computer.git
</span></span></code></pre></div><p>Compile and generate tar package:</p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#204a87>cd</span> hugegraph-computer
</span></span><span style=display:flex><span>mvn clean package -DskipTests
-</span></span></code></pre></div><h4 id=23-start-master-node>2.3 Start master
node</h4><blockquote><p>You can use <code>-c</code> parameter specify the
configuration file, more computer config please see:<a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><s [...]
+</span></span></code></pre></div><h4 id=313-start-master-node>3.1.3 Start
master node</h4><blockquote><p>You can use <code>-c</code> parameter specify
the configuration file, more computer config please see:<a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span [...]
</span></span><span style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r master
-</span></span></code></pre></div><h4 id=24-start-worker-node>2.4 Start worker
node</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r worker
-</span></span></code></pre></div><h4 id=25-query-algorithm-results>2.5 Query
algorithm results</h4><p>2.5.1 Enable <code>OLAP</code> index query for
server</p><p>If OLAP index is not enabled, it needs to enable, more reference:
<a
href=/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges>modify-graphs-read-mode</a></p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
[...]
+</span></span></code></pre></div><h4 id=314-start-worker-node>3.1.4 Start
worker node</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span
style=display:flex><span>bin/start-computer.sh -d <span
style=color:#204a87>local</span> -r worker
+</span></span></code></pre></div><h4 id=315-query-algorithm-results>3.1.5
Query algorithm results</h4><p>3.1.5.1 Enable <code>OLAP</code> index query for
server</p><p>If OLAP index is not enabled, it needs to enable, more reference:
<a
href=/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges>modify-graphs-read-mode</a></p><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4> [...]
</span></span></span><span style=display:flex><span><span style=color:#a40000>
</span></span></span><span style=display:flex><span><span
style=color:#a40000>"ALL"
-</span></span></span></code></pre></div><p>2.5.2 Query <code>page_rank</code>
property value:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>curl <span
style=color:#4e9a06>"http://localhost:8080/graphs/hugegraph/graph/vertices?page&limit=3"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><h3
id=22-run-pagerank-algorithm-in-kubernetes>2.2 Run PageRank algorithm in
Kubernetes</h3><blockquote><p>To run algorithm with HugeGraph-Computer you need
to deploy HugeGraph-Server first</p></blockquote><h4
id=221-install-hugegraph-computer-crd>2.2.1 Install HugeGraph-Computer
CRD</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display: [...]
+</span></span></span></code></pre></div><p>3.1.5.2 Query
<code>page_rank</code> property value:</p><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>curl <span
style=color:#4e9a06>"http://localhost:8080/graphs/hugegraph/graph/vertices?page&limit=3"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
+</span></span></code></pre></div><h3
id=32-run-pagerank-algorithm-in-kubernetes>3.2 Run PageRank algorithm in
Kubernetes</h3><blockquote><p>To run algorithm with HugeGraph-Computer you need
to deploy HugeGraph-Server first</p></blockquote><h4
id=321-install-hugegraph-computer-crd>3.2.1 Install HugeGraph-Computer
CRD</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display: [...]
</span></span><span style=display:flex><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Kubernetes version < v1.16</span>
</span></span><span style=display:flex><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml
-</span></span></code></pre></div><h4 id=222-show-crd>2.2.2 Show CRD</h4><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
crd
+</span></span></code></pre></div><h4 id=322-show-crd>3.2.2 Show CRD</h4><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
crd
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME
CREATED AT
</span></span><span
style=display:flex><span>hugegraphcomputerjobs.hugegraph.apache.org
2021-09-16T08:01:08Z
-</span></span></code></pre></div><h4
id=223-install-hugegraph-computer-operatoretcd-server>2.2.3 Install
hugegraph-computer-operator&etcd-server</h4><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl apply
-f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
-</span></span></code></pre></div><h4
id=224-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete>2.2.4
Wait for hugegraph-computer-operator&etcd-server deployment to
complete</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
pod -n hugegraph-computer-operator-system
+</span></span></code></pre></div><h4
id=323-install-hugegraph-computer-operatoretcd-server>3.2.3 Install
hugegraph-computer-operator&etcd-server</h4><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl apply
-f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
+</span></span></code></pre></div><h4
id=324-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete>3.2.4
Wait for hugegraph-computer-operator&etcd-server deployment to
complete</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
pod -n hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME
READY STATUS RESTARTS AGE
</span></span><span
style=display:flex><span>hugegraph-computer-operator-controller-manager-58c5545949-jqvzl
1/1 Running <span style=color:#0000cf;font-weight:700>0</span>
15h
</span></span><span
style=display:flex><span>hugegraph-computer-operator-etcd-28lm67jxk5
1/1 Running <span style=color:#0000cf;font-weight:700>0</span>
15h
-</span></span></code></pre></div><h4 id=225-submit-job>2.2.5 Submit
job</h4><blockquote><p>More computer crd please see: <a
href=/docs/config/config-computer#hugegraph-computer-crd>Computer
CRD</a></p><p>More computer config please see: <a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-yaml data-lang=yaml> [...]
+</span></span></code></pre></div><h4 id=325-submit-job>3.2.5 Submit
job</h4><blockquote><p>More computer crd please see: <a
href=/docs/config/config-computer#hugegraph-computer-crd>Computer
CRD</a></p><p>More computer config please see: <a
href=/docs/config/config-computer#computer-config-options>Computer Config
Options</a></p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-yaml data-lang=yaml> [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>apiVersion</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>hugegraph.apache.org/v1</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>kind</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>HugeGraphComputerJob</span><span
style=color:#f8f8f8;text-decoration:underline>
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#204a87;font-weight:700>metadata</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline>
@@ -56,11 +56,11 @@ Features Support distributed MPP graph computing, and
integrates with HugeGraph
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>hugegraph.url</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>http://${hugegraph-server-host}:${hugegraph-server-port}</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#8f5902;font-style:italic># hugegraph server [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#204a87;font-weight:700>hugegraph.name</span><span
style=color:#000;font-weight:700>:</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#000>hugegraph</span><span
style=color:#f8f8f8;text-decoration:underline> </span><span
style=color:#8f5902;font-style:italic># hugegraph graph name</span><span
style=color:#f8f8f8;text-deco [...]
</span></span></span><span style=display:flex><span><span
style=color:#f8f8f8;text-decoration:underline></span><span
style=color:#000>EOF</span><span style=color:#f8f8f8;text-decoration:underline>
-</span></span></span></code></pre></div><h4 id=226-show-job>2.2.6 Show
job</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
hcjob/pagerank-sample -n hugegraph-computer-operator-system
+</span></span></span></code></pre></div><h4 id=326-show-job>3.2.6 Show
job</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
hcjob/pagerank-sample -n hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>NAME JOBID
JOBSTATUS
</span></span><span style=display:flex><span>pagerank-sample
pagerank-sample RUNNING
-</span></span></code></pre></div><h4 id=227-show-log-of-nodes>2.2.7 Show log
of nodes</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the master log</span>
+</span></span></code></pre></div><h4 id=327-show-log-of-nodes>3.2.7 Show log
of nodes</h4><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the master log</span>
</span></span><span style=display:flex><span>kubectl logs -l <span
style=color:#000>component</span><span
style=color:#ce5c00;font-weight:700>=</span>pagerank-sample-master -n
hugegraph-computer-operator-system
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show the worker log</span>
@@ -69,8 +69,8 @@ Features Support distributed MPP graph computing, and
integrates with HugeGraph
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># Show diagnostic log of a job</span>
</span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic># NOTE: diagnostic log exist only when
the job fails, and it will only be saved for one hour.</span>
</span></span><span style=display:flex><span>kubectl get event
--field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>ComputerJobFailed --field-selector
involvedObject.name<span
style=color:#ce5c00;font-weight:700>=</span>pagerank-sample -n
hugegraph-computer-operator-system
-</span></span></code></pre></div><h4 id=228-show-success-event-of-a-job>2.2.8
Show success event of a job</h4><blockquote><p>NOTE: it will only be saved for
one hour</p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
event --field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>Computer [...]
-</span></span></code></pre></div><h4 id=229-query-algorithm-results>2.2.9
Query algorithm results</h4><p>If the output to <code>Hugegraph-Server</code>
is consistent with Locally, if output to <code>HDFS</code>, please check the
result file in the directory of
<code>/hugegraph-computer/results/{jobId}</code> directory.</p><h2
id=3-built-in-algorithms-document>3 Built-In algorithms document</h2><h3
id=31-supported-algorithms-list>3.1 Supported algorithms list:</h3><h6
id=centrality-algori [...]
+</span></span></code></pre></div><h4 id=328-show-success-event-of-a-job>3.2.8
Show success event of a job</h4><blockquote><p>NOTE: it will only be saved for
one hour</p></blockquote><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-bash data-lang=bash><span style=display:flex><span>kubectl get
event --field-selector <span style=color:#000>reason</span><span
style=color:#ce5c00;font-weight:700>=</span>Computer [...]
+</span></span></code></pre></div><h4 id=329-query-algorithm-results>3.2.9
Query algorithm results</h4><p>If the output to <code>Hugegraph-Server</code>
is consistent with Locally, if output to <code>HDFS</code>, please check the
result file in the directory of
<code>/hugegraph-computer/results/{jobId}</code> directory.</p><h2
id=4-built-in-algorithms-document>4 Built-In algorithms document</h2><h3
id=41-supported-algorithms-list>4.1 Supported algorithms list:</h3><h6
id=centrality-algori [...]
<script
src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js
integrity="sha512-UR25UO94eTnCVwjbXozyeVd6ZqpaAE9naiEUBK/A+QDbfSTQFhPGj5lOR6d8tsgbBk84Ggb5A3EkjsOgPRPcKA=="
crossorigin=anonymous></script>
<script src=/js/tabpane-persist.js></script>
<script
src=/js/main.min.aa9f4c5dae6a98b2c46277f4c56f1673a2b000d1756ce4ffae93784cab25e6d5.js
integrity="sha256-qp9MXa5qmLLEYnf0xW8Wc6KwANF1bOT/rpN4TKsl5tU="
crossorigin=anonymous></script>
diff --git a/docs/quickstart/index.xml b/docs/quickstart/index.xml
index a9accb0a..65935cef 100644
--- a/docs/quickstart/index.xml
+++ b/docs/quickstart/index.xml
@@ -3021,8 +3021,12 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
<li>You can output the results to HDFS or HugeGraph, or any other
system.</li>
<li>Easy to develop a new algorithm. You just need to focus on a vertex
only processing just like as in a single server, without worrying about message
transfer and memory/storage management.</li>
</ul>
-<h2 id="2-get-started">2 Get Started</h2>
-<h3 id="21-run-pagerank-algorithm-locally">2.1 Run PageRank algorithm
locally</h3>
+<h2 id="2-dependency-for-buildingrunning">2 Dependency for
Building/Running</h2>
+<h3 id="21-install-java-11-jdk-11">2.1 Install Java 11 (JDK 11)</h3>
+<p>Required to use Java 11 to run <code>HugeGraph-Computer</code>
(<strong>not compatible with Java 8 now!!!</strong>), and configure by
yourself.</p>
+<p><strong>Be sure to execute the <code>java -version</code>
command to check the jdk version before reading</strong></p>
+<h2 id="3-get-started">3 Get Started</h2>
+<h3 id="31-run-pagerank-algorithm-locally">3.1 Run PageRank algorithm
locally</h3>
<blockquote>
<p>To run algorithm with HugeGraph-Computer, you need to install 64-bit
Java 11 or later versions.</p>
<p>You also need to deploy HugeGraph-Server and <a
href="https://etcd.io/docs/v3.5/quickstart/">Etcd</a>.</p>
@@ -3032,56 +3036,56 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
<li>Download the compiled tarball</li>
<li>Clone source code then compile and package</li>
</ul>
-<h4 id="21-download-the-compiled-archive">2.1 Download the compiled
archive</h4>
+<h4 id="311-download-the-compiled-archive">3.1.1 Download the compiled
archive</h4>
<p>Download the latest version of the HugeGraph-Computer release
package:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>wget
https://downloads.apache.org/incubator/hugegraph/<span
style="color:#4e9a06">${</span><span
style="color:#000">version</span><span
style="color:#4e9a06">}</span>/apache-hugegraph-computer-incubating-<span
style="color:#4e9a06">${</span><span style="c [...]
</span></span><span style="display:flex;"><span>tar zxvf
apache-hugegraph-computer-incubating-<span
style="color:#4e9a06">${</span><span
style="color:#000">version</span><span
style="color:#4e9a06">}</span>.tar.gz -C hugegraph-computer
-</span></span></code></pre></div><h4
id="22-clone-source-code-to-compile-and-package">2.2 Clone source code to
compile and package</h4>
+</span></span></code></pre></div><h4
id="312-clone-source-code-to-compile-and-package">3.1.2 Clone source code to
compile and package</h4>
<p>Clone the latest version of HugeGraph-Computer source package:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>$ git clone
https://github.com/apache/hugegraph-computer.git
</span></span></code></pre></div><p>Compile and generate tar
package:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span style="color:#204a87">cd</span>
hugegraph-computer
</span></span><span style="display:flex;"><span>mvn clean package
-DskipTests
-</span></span></code></pre></div><h4
id="23-start-master-node">2.3 Start master node</h4>
+</span></span></code></pre></div><h4
id="313-start-master-node">3.1.3 Start master node</h4>
<blockquote>
<p>You can use <code>-c</code> parameter specify the configuration
file, more computer config please see:<a
href="/docs/config/config-computer#computer-config-options">Computer Config
Options</a></p>
</blockquote>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span style="color:#204a87">cd</span>
hugegraph-computer
</span></span><span
style="display:flex;"><span>bin/start-computer.sh -d <span
style="color:#204a87">local</span> -r master
-</span></span></code></pre></div><h4
id="24-start-worker-node">2.4 Start worker node</h4>
+</span></span></code></pre></div><h4
id="314-start-worker-node">3.1.4 Start worker node</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>bin/start-computer.sh -d <span
style="color:#204a87">local</span> -r worker
-</span></span></code></pre></div><h4
id="25-query-algorithm-results">2.5 Query algorithm results</h4>
-<p>2.5.1 Enable <code>OLAP</code> index query for server</p>
+</span></span></code></pre></div><h4
id="315-query-algorithm-results">3.1.5 Query algorithm results</h4>
+<p>3.1.5.1 Enable <code>OLAP</code> index query for server</p>
<p>If OLAP index is not enabled, it needs to enable, more reference: <a
href="/docs/clients/restful-api/graphs/#634-modify-graphs-read-mode-this-operation-requires-administrator-privileges">modify-graphs-read-mode</a></p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-http" data-lang="http"><span
style="display:flex;"><span><span style="color:#a40000">PUT
http://localhost:8080/graphs/hugegraph/graph_read_mode
</span></span></span><span style="display:flex;"><span><span
style="color:#a40000">
</span></span></span><span style="display:flex;"><span><span
style="color:#a40000">&#34;ALL&#34;
-</span></span></span></code></pre></div><p>2.5.2 Query
<code>page_rank</code> property value:</p>
+</span></span></span></code></pre></div><p>3.1.5.2 Query
<code>page_rank</code> property value:</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>curl <span
style="color:#4e9a06">&#34;http://localhost:8080/graphs/hugegraph/graph/vertices?page&amp;limit=3&#34;</span>
<span style="color:#000;font-weight:bold">|</span> gunzip
-</span></span></code></pre></div><h3
id="22-run-pagerank-algorithm-in-kubernetes">2.2 Run PageRank algorithm in
Kubernetes</h3>
+</span></span></code></pre></div><h3
id="32-run-pagerank-algorithm-in-kubernetes">3.2 Run PageRank algorithm in
Kubernetes</h3>
<blockquote>
<p>To run algorithm with HugeGraph-Computer you need to deploy
HugeGraph-Server first</p>
</blockquote>
-<h4 id="221-install-hugegraph-computer-crd">2.2.1 Install
HugeGraph-Computer CRD</h4>
+<h4 id="321-install-hugegraph-computer-crd">3.2.1 Install
HugeGraph-Computer CRD</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Kubernetes version &gt;=
v1.16</span>
</span></span><span style="display:flex;"><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1.yaml
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Kubernetes version &lt;
v1.16</span>
</span></span><span style="display:flex;"><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-crd.v1beta1.yaml
-</span></span></code></pre></div><h4 id="222-show-crd">2.2.2
Show CRD</h4>
+</span></span></code></pre></div><h4 id="322-show-crd">3.2.2
Show CRD</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get crd
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>NAME CREATED AT
</span></span><span
style="display:flex;"><span>hugegraphcomputerjobs.hugegraph.apache.org
2021-09-16T08:01:08Z
-</span></span></code></pre></div><h4
id="223-install-hugegraph-computer-operatoretcd-server">2.2.3 Install
hugegraph-computer-operator&amp;etcd-server</h4>
+</span></span></code></pre></div><h4
id="323-install-hugegraph-computer-operatoretcd-server">3.2.3 Install
hugegraph-computer-operator&amp;etcd-server</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl apply -f
https://raw.githubusercontent.com/apache/hugegraph-computer/master/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
-</span></span></code></pre></div><h4
id="224-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete">2.2.4
Wait for hugegraph-computer-operator&amp;etcd-server deployment to
complete</h4>
+</span></span></code></pre></div><h4
id="324-wait-for-hugegraph-computer-operatoretcd-server-deployment-to-complete">3.2.4
Wait for hugegraph-computer-operator&amp;etcd-server deployment to
complete</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get pod -n
hugegraph-computer-operator-system
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>NAME READY STATUS
RESTARTS AGE
</span></span><span
style="display:flex;"><span>hugegraph-computer-operator-controller-manager-58c5545949-jqvzl
1/1 Running <span style="color:#0000cf;font-weight:bold">0</span> 15h
</span></span><span
style="display:flex;"><span>hugegraph-computer-operator-etcd-28lm67jxk5 1/1
Running <span style="color:#0000cf;font-weight:bold">0</span> 15h
-</span></span></code></pre></div><h4
id="225-submit-job">2.2.5 Submit job</h4>
+</span></span></code></pre></div><h4
id="325-submit-job">3.2.5 Submit job</h4>
<blockquote>
<p>More computer crd please see: <a
href="/docs/config/config-computer#hugegraph-computer-crd">Computer
CRD</a></p>
<p>More computer config please see: <a
href="/docs/config/config-computer#computer-config-options">Computer Config
Options</a></p>
@@ -3107,12 +3111,12 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
</span></span></span><span style="display:flex;"><span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#204a87;font-weight:bold">hugegraph.url</span><span
style="color:#000;font-weight:bold">:</span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#000">http://${hugegraph-server-host}:${hugegraph-server-port}</span><span
style="color:#f8f8f8;text-decoration:underline"> </sp [...]
</span></span></span><span style="display:flex;"><span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#204a87;font-weight:bold">hugegraph.name</span><span
style="color:#000;font-weight:bold">:</span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#000">hugegraph</span><span
style="color:#f8f8f8;text-decoration:underline"> </span><span
style="color:#8f5902;font-style:it [...]
</span></span></span><span style="display:flex;"><span><span
style="color:#f8f8f8;text-decoration:underline"></span><span
style="color:#000">EOF</span><span
style="color:#f8f8f8;text-decoration:underline">
-</span></span></span></code></pre></div><h4
id="226-show-job">2.2.6 Show job</h4>
+</span></span></span></code></pre></div><h4
id="326-show-job">3.2.6 Show job</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get hcjob/pagerank-sample -n
hugegraph-computer-operator-system
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>NAME JOBID
JOBSTATUS
</span></span><span style="display:flex;"><span>pagerank-sample
pagerank-sample RUNNING
-</span></span></code></pre></div><h4
id="227-show-log-of-nodes">2.2.7 Show log of nodes</h4>
+</span></span></code></pre></div><h4
id="327-show-log-of-nodes">3.2.7 Show log of nodes</h4>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Show the master log</span>
</span></span><span style="display:flex;"><span>kubectl logs -l
<span style="color:#000">component</span><span
style="color:#ce5c00;font-weight:bold">=</span>pagerank-sample-master -n
hugegraph-computer-operator-system
</span></span><span style="display:flex;"><span>
@@ -3122,15 +3126,15 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
</span></span><span style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># Show diagnostic log of a job</span>
</span></span><span style="display:flex;"><span><span
style="color:#8f5902;font-style:italic"># NOTE: diagnostic log exist only when
the job fails, and it will only be saved for one hour.</span>
</span></span><span style="display:flex;"><span>kubectl get event
--field-selector <span style="color:#000">reason</span><span
style="color:#ce5c00;font-weight:bold">=</span>ComputerJobFailed
--field-selector involvedObject.name<span
style="color:#ce5c00;font-weight:bold">=</span>pagerank-sample -n
hugegraph-computer-operator-system
-</span></span></code></pre></div><h4
id="228-show-success-event-of-a-job">2.2.8 Show success event of a job</h4>
+</span></span></code></pre></div><h4
id="328-show-success-event-of-a-job">3.2.8 Show success event of a job</h4>
<blockquote>
<p>NOTE: it will only be saved for one hour</p>
</blockquote>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-bash" data-lang="bash"><span
style="display:flex;"><span>kubectl get event --field-selector <span
style="color:#000">reason</span><span
style="color:#ce5c00;font-weight:bold">=</span>ComputerJobSucceed
--field-selector involvedObject.name<span
style="color:#ce5c00;font-weight:bold">=</span>pagerank-sample -n
hugegraph-c [...]
-</span></span></code></pre></div><h4
id="229-query-algorithm-results">2.2.9 Query algorithm results</h4>
+</span></span></code></pre></div><h4
id="329-query-algorithm-results">3.2.9 Query algorithm results</h4>
<p>If the output to <code>Hugegraph-Server</code> is consistent with
Locally, if output to <code>HDFS</code>, please check the result file in
the directory of <code>/hugegraph-computer/results/{jobId}</code>
directory.</p>
-<h2 id="3-built-in-algorithms-document">3 Built-In algorithms
document</h2>
-<h3 id="31-supported-algorithms-list">3.1 Supported algorithms list:</h3>
+<h2 id="4-built-in-algorithms-document">4 Built-In algorithms
document</h2>
+<h3 id="41-supported-algorithms-list">4.1 Supported algorithms list:</h3>
<h6 id="centrality-algorithm">Centrality Algorithm:</h6>
<ul>
<li>PageRank</li>
@@ -3152,11 +3156,11 @@ Implement a class inherited from
<code>Formatter</code> in the directory,
<li>RingsDetectionWithFilter</li>
</ul>
<p>More algorithms please see: <a
href="https://github.com/apache/hugegraph-computer/tree/master/computer-algorithm/src/main/java/org/apache/hugegraph/computer/algorithm">Built-In
algorithms</a></p>
-<h3 id="32-algorithm-describe">3.2 Algorithm describe</h3>
+<h3 id="42-algorithm-describe">4.2 Algorithm describe</h3>
<p>TODO</p>
-<h2 id="4-algorithm-development-guide">4 Algorithm development guide</h2>
+<h2 id="5-algorithm-development-guide">5 Algorithm development guide</h2>
<p>TODO</p>
-<h2 id="5-note">5 Note</h2>
+<h2 id="6-note">6 Note</h2>
<ul>
<li>If some classes under computer-k8s cannot be found, you need to execute
<code>mvn compile</code> in advance to generate corresponding
classes.</li>
</ul></description></item></channel></rss>
\ No newline at end of file
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 6ecc4098..82b02fb0 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2023-06-25T21:06:07+08:00</lastmod><xhtml:link
rel="alternate" hreflang="cn"
href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate"
hreflang="en"
href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2023-11-01T21:52:52+08:00</last
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2023-06-25T21:06:07+08:00</lastmod><xhtml:link
rel="alternate" hreflang="cn"
href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate"
hreflang="en"
href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2023-11-01T21:52:52+08:00</last
[...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 3d6a075a..af03537f 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2023-12-24T00:13:13+08:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2023-12-24T00:13:13+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2023-12-28T14:12:57+08:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2023-12-24T00:13:13+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file