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 7119258b fix: enhance the code reading experience for lacking RPC
generated files (#353)
7119258b is described below
commit 7119258b8da422e61f2f8cd0a0794a7fe715705c
Author: javeme <[email protected]>
AuthorDate: Sat Apr 13 15:48:12 2024 +0000
fix: enhance the code reading experience for lacking RPC generated files
(#353)
Co-authored-by: JerryHu87 <[email protected]>
Co-authored-by: imbajin <[email protected]>
e768bf27068ff8216f38a826c7e4f61a2fb594cc
---
cn/docs/_print/index.html | 2 +-
cn/docs/contribution-guidelines/_print/index.html | 2 +-
.../hugegraph-server-idea-setup/index.html | 6 +++---
cn/docs/contribution-guidelines/index.xml | 8 +++++++-
cn/docs/index.xml | 8 +++++++-
cn/sitemap.xml | 2 +-
docs/_print/index.html | 2 +-
docs/contribution-guidelines/_print/index.html | 2 +-
.../hugegraph-server-idea-setup/index.html | 6 +++---
docs/contribution-guidelines/index.xml | 8 +++++++-
docs/index.xml | 8 +++++++-
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
13 files changed, 41 insertions(+), 17 deletions(-)
diff --git a/cn/docs/_print/index.html b/cn/docs/_print/index.html
index 1eebb314..c2f89ded 100644
--- a/cn/docs/_print/index.html
+++ b/cn/docs/_print/index.html
@@ -8099,7 +8099,7 @@ LICENSE 是 Apache 2.0, 且对应的项目中包含了 NOTICE, 则还需要更
</span></span><span style=display:flex><span> <span
style=color:#8f5902;font-style:italic>// ignore log
</span></span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic></span> <span
style=color:#000>Map</span><span
style=color:#ce5c00;font-weight:700><</span><span
style=color:#000>String</span><span
style=color:#ce5c00;font-weight:700>,</span> <span
style=color:#000>Object</span><span
style=color:#ce5c00;font-weight:700>></span> <span
style=color:#000>props</span> <span
style=color:#ce5c00;font-weight:700>=</span> <span
style=color:#000>parsePropert [...]
</span></span></code></pre></div><p>然后,使用 RESTful API 请求
<code>HugeGraphServer</code>:</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"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><p>此时,可以在调试器中查看详细的变量信息。</p><h4
id=5-log4j2-日志配置>5. Log4j2 日志配置</h4><p>默认情况下,运行 <code>InitStore</code> 和
<code>HugeGraphServer</code> 时,读取的 Log4j2 配置文件路径为
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>,而不是
<code>path-to-your-directory/conf/log4j2.xml</code>,这个配置文件是使用<strong>脚本</strong>启动
HugeGraph-Server 时读取的。</p><p>为了避免同时维护两份配置文件,可以考虑在 <strong>IntelliJ
IDEA</strong> 运行与调试 HugeGraph-Server 时,修改读取的 Log4j2 配置文件路径:</p><ol><li>打开之前创建的
<code>Applicat [...]
+</span></span></code></pre></div><p>此时,可以在调试器中查看详细的变量信息。</p><h4
id=5-log4j2-日志配置>5. Log4j2 日志配置</h4><p>默认情况下,运行 <code>InitStore</code> 和
<code>HugeGraphServer</code> 时,读取的 Log4j2 配置文件路径为
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>,而不是
<code>path-to-your-directory/conf/log4j2.xml</code>,这个配置文件是使用<strong>脚本</strong>启动
HugeGraph-Server 时读取的。</p><p>为了避免同时维护两份配置文件,可以考虑在 <strong>IntelliJ
IDEA</strong> 运行与调试 HugeGraph-Server 时,修改读取的 Log4j2 配置文件路径:</p><ol><li>打开之前创建的
<code>Applicat [...]
讨论邮件里提议者要把候选人的贡献说清楚,并最好给出确认贡献的 URL 等信息,便于大家讨论分析。</p><p>下面是 HugeGraph
对应的邮件模板:(仅供参考)</p><blockquote><p>Note: 后续将使用 xxx 指代候选人名,一般 <code>xxx</code>
为一个容易读的名字 (例如 <code>Simon Jay</code>)</p><p><code>ASF-INFRA</code>
建议<strong>避免</strong>使用不易读的 <code>ID</code> 直接作为邮件<strong>人名代指</strong>
(例如<strong>避免</strong> <code>simon321</code> 或 <code>wh0isSim0n</code>
😄)</p><p>另发送邮件最好选择 <strong>“纯文本”</strong> 模式,否则排版在 ASF Mail UI
中可能会乱</p></blockquote><div class=highlight><pre tabindex=0 sty [...]
</span></span><span style=display:flex><span>Subject: [DISCUSS] XXX as a
HugeGraph Committer Candidate
</span></span><span style=display:flex><span>
diff --git a/cn/docs/contribution-guidelines/_print/index.html
b/cn/docs/contribution-guidelines/_print/index.html
index 758a8f4e..1091b9cd 100644
--- a/cn/docs/contribution-guidelines/_print/index.html
+++ b/cn/docs/contribution-guidelines/_print/index.html
@@ -195,7 +195,7 @@ LICENSE 是 Apache 2.0, 且对应的项目中包含了 NOTICE, 则还需要更
</span></span><span style=display:flex><span> <span
style=color:#8f5902;font-style:italic>// ignore log
</span></span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic></span> <span
style=color:#000>Map</span><span
style=color:#ce5c00;font-weight:700><</span><span
style=color:#000>String</span><span
style=color:#ce5c00;font-weight:700>,</span> <span
style=color:#000>Object</span><span
style=color:#ce5c00;font-weight:700>></span> <span
style=color:#000>props</span> <span
style=color:#ce5c00;font-weight:700>=</span> <span
style=color:#000>parsePropert [...]
</span></span></code></pre></div><p>然后,使用 RESTful API 请求
<code>HugeGraphServer</code>:</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"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><p>此时,可以在调试器中查看详细的变量信息。</p><h4
id=5-log4j2-日志配置>5. Log4j2 日志配置</h4><p>默认情况下,运行 <code>InitStore</code> 和
<code>HugeGraphServer</code> 时,读取的 Log4j2 配置文件路径为
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>,而不是
<code>path-to-your-directory/conf/log4j2.xml</code>,这个配置文件是使用<strong>脚本</strong>启动
HugeGraph-Server 时读取的。</p><p>为了避免同时维护两份配置文件,可以考虑在 <strong>IntelliJ
IDEA</strong> 运行与调试 HugeGraph-Server 时,修改读取的 Log4j2 配置文件路径:</p><ol><li>打开之前创建的
<code>Applicat [...]
+</span></span></code></pre></div><p>此时,可以在调试器中查看详细的变量信息。</p><h4
id=5-log4j2-日志配置>5. Log4j2 日志配置</h4><p>默认情况下,运行 <code>InitStore</code> 和
<code>HugeGraphServer</code> 时,读取的 Log4j2 配置文件路径为
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>,而不是
<code>path-to-your-directory/conf/log4j2.xml</code>,这个配置文件是使用<strong>脚本</strong>启动
HugeGraph-Server 时读取的。</p><p>为了避免同时维护两份配置文件,可以考虑在 <strong>IntelliJ
IDEA</strong> 运行与调试 HugeGraph-Server 时,修改读取的 Log4j2 配置文件路径:</p><ol><li>打开之前创建的
<code>Applicat [...]
讨论邮件里提议者要把候选人的贡献说清楚,并最好给出确认贡献的 URL 等信息,便于大家讨论分析。</p><p>下面是 HugeGraph
对应的邮件模板:(仅供参考)</p><blockquote><p>Note: 后续将使用 xxx 指代候选人名,一般 <code>xxx</code>
为一个容易读的名字 (例如 <code>Simon Jay</code>)</p><p><code>ASF-INFRA</code>
建议<strong>避免</strong>使用不易读的 <code>ID</code> 直接作为邮件<strong>人名代指</strong>
(例如<strong>避免</strong> <code>simon321</code> 或 <code>wh0isSim0n</code>
😄)</p><p>另发送邮件最好选择 <strong>“纯文本”</strong> 模式,否则排版在 ASF Mail UI
中可能会乱</p></blockquote><div class=highlight><pre tabindex=0 sty [...]
</span></span><span style=display:flex><span>Subject: [DISCUSS] XXX as a
HugeGraph Committer Candidate
</span></span><span style=display:flex><span>
diff --git
a/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
b/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
index 37ddf1ee..e57c8843 100644
--- a/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
+++ b/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
@@ -10,14 +10,14 @@
git clone https://github.com/apache/hugegraph.git 步骤 1. 配置文件拷贝 为了避免配置文件的更改影响
Git 的追踪,建议将所需的配置文件拷贝到一个单独的文件夹中:
cp -r hugegraph-dist/src/assembly/static/scripts
hugegraph-dist/src/assembly/static/conf path-to-your-directory 将
path-to-your-directory 替换为你创建的文件夹的路径。
2. InitStore 类初始化图 首先,需要在配置文件中配置数据库后端。以 RocksDB 为例,在
path-to-your-directory/conf/graphs/hugegraph.properties 文件中进行以下配置:
-backend=rocksdb serializer=binary rocksdb.data_path=. rocksdb.wal_path=. 然后,打开
IntelliJ IDEA 的 Run/Debug Configurations 面板,创建一个新的 Application
配置,按照以下步骤进行配置:"><meta property="og:type" content="article"><meta
property="og:url"
content="/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/"><meta
property="article:section" content="docs"><meta
property="article:modified_time" content="2024-04-02T23:43:17+08:00"><meta
property="og:site_name" content="HugeGraph"><meta itemprop=name co [...]
+backend=rocksdb serializer=binary rocksdb.data_path=. rocksdb.wal_path=. 然后,打开
IntelliJ IDEA 的 Run/Debug Configurations 面板,创建一个新的 Application
配置,按照以下步骤进行配置:"><meta property="og:type" content="article"><meta
property="og:url"
content="/cn/docs/contribution-guidelines/hugegraph-server-idea-setup/"><meta
property="article:section" content="docs"><meta
property="article:modified_time" content="2024-04-13T11:47:40-04:00"><meta
property="og:site_name" content="HugeGraph"><meta itemprop=name co [...]
背景 在 Quick Start 部分已经介绍了使用脚本启停 HugeGraph-Server 的流程。下面以 Linux 平台为例, 介绍使用
IntelliJ IDEA 运行与调试 HugeGraph-Server 的流程。
本地启动的核心与脚本启动是一样的:
初始化数据库后端,执行 InitStore 类初始化图 启动 HugeGraph-Server,执行 HugeGraphServer
类加载初始化的图信息启动 在执行下述流程之前,请确保已经克隆了 HugeGraph 的源代码,并且已经配置了 Java 11 环境 & 可以参考这个 配置文档
git clone https://github.com/apache/hugegraph.git 步骤 1. 配置文件拷贝 为了避免配置文件的更改影响
Git 的追踪,建议将所需的配置文件拷贝到一个单独的文件夹中:
cp -r hugegraph-dist/src/assembly/static/scripts
hugegraph-dist/src/assembly/static/conf path-to-your-directory 将
path-to-your-directory 替换为你创建的文件夹的路径。
2. InitStore 类初始化图 首先,需要在配置文件中配置数据库后端。以 RocksDB 为例,在
path-to-your-directory/conf/graphs/hugegraph.properties 文件中进行以下配置:
-backend=rocksdb serializer=binary rocksdb.data_path=. rocksdb.wal_path=. 然后,打开
IntelliJ IDEA 的 Run/Debug Configurations 面板,创建一个新的 Application
配置,按照以下步骤进行配置:"><meta itemprop=dateModified
content="2024-04-02T23:43:17+08:00"><meta itemprop=wordCount
content="483"><meta itemprop=keywords content><meta name=twitter:card
content="summary"><meta name=twitter:title content="在 IDEA 中配置 Server
开发环境"><meta name=twitter:description content="注意:下述配置仅供参考,基于这个版本,在 Linux 和
macOS 平台下进行了测试。
+backend=rocksdb serializer=binary rocksdb.data_path=. rocksdb.wal_path=. 然后,打开
IntelliJ IDEA 的 Run/Debug Configurations 面板,创建一个新的 Application
配置,按照以下步骤进行配置:"><meta itemprop=dateModified
content="2024-04-13T11:47:40-04:00"><meta itemprop=wordCount
content="515"><meta itemprop=keywords content><meta name=twitter:card
content="summary"><meta name=twitter:title content="在 IDEA 中配置 Server
开发环境"><meta name=twitter:description content="注意:下述配置仅供参考,基于这个版本,在 Linux 和
macOS 平台下进行了测试。
背景 在 Quick Start 部分已经介绍了使用脚本启停 HugeGraph-Server 的流程。下面以 Linux 平台为例, 介绍使用
IntelliJ IDEA 运行与调试 HugeGraph-Server 的流程。
本地启动的核心与脚本启动是一样的:
初始化数据库后端,执行 InitStore 类初始化图 启动 HugeGraph-Server,执行 HugeGraphServer
类加载初始化的图信息启动 在执行下述流程之前,请确保已经克隆了 HugeGraph 的源代码,并且已经配置了 Java 11 环境 & 可以参考这个 配置文档
@@ -62,7 +62,7 @@ backend=rocksdb serializer=binary rocksdb.data_path=.
rocksdb.wal_path=. 然后
</span></span><span style=display:flex><span> <span
style=color:#8f5902;font-style:italic>// ignore log
</span></span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic></span> <span
style=color:#000>Map</span><span
style=color:#ce5c00;font-weight:700><</span><span
style=color:#000>String</span><span
style=color:#ce5c00;font-weight:700>,</span> <span
style=color:#000>Object</span><span
style=color:#ce5c00;font-weight:700>></span> <span
style=color:#000>props</span> <span
style=color:#ce5c00;font-weight:700>=</span> <span
style=color:#000>parsePropert [...]
</span></span></code></pre></div><p>然后,使用 RESTful API 请求
<code>HugeGraphServer</code>:</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"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><p>此时,可以在调试器中查看详细的变量信息。</p><h4
id=5-log4j2-日志配置>5. Log4j2 日志配置</h4><p>默认情况下,运行 <code>InitStore</code> 和
<code>HugeGraphServer</code> 时,读取的 Log4j2 配置文件路径为
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>,而不是
<code>path-to-your-directory/conf/log4j2.xml</code>,这个配置文件是使用<strong>脚本</strong>启动
HugeGraph-Server 时读取的。</p><p>为了避免同时维护两份配置文件,可以考虑在 <strong>IntelliJ
IDEA</strong> 运行与调试 HugeGraph-Server 时,修改读取的 Log4j2 配置文件路径:</p><ol><li>打开之前创建的
<code>Applicat [...]
+</span></span></code></pre></div><p>此时,可以在调试器中查看详细的变量信息。</p><h4
id=5-log4j2-日志配置>5. Log4j2 日志配置</h4><p>默认情况下,运行 <code>InitStore</code> 和
<code>HugeGraphServer</code> 时,读取的 Log4j2 配置文件路径为
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>,而不是
<code>path-to-your-directory/conf/log4j2.xml</code>,这个配置文件是使用<strong>脚本</strong>启动
HugeGraph-Server 时读取的。</p><p>为了避免同时维护两份配置文件,可以考虑在 <strong>IntelliJ
IDEA</strong> 运行与调试 HugeGraph-Server 时,修改读取的 Log4j2 配置文件路径:</p><ol><li>打开之前创建的
<code>Applicat [...]
<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/cn/docs/contribution-guidelines/index.xml
b/cn/docs/contribution-guidelines/index.xml
index 85138df9..4f43ee48 100644
--- a/cn/docs/contribution-guidelines/index.xml
+++ b/cn/docs/contribution-guidelines/index.xml
@@ -407,7 +407,13 @@ LICENSE 是 Apache 2.0, 且对应的项目中包含了 NOTICE, 则还需要更
<li>在 IntelliJ IDEA 的 <code>Preferences/Settings</code> 中找到
<code>Java Compiler</code> 面板,然后关闭 <code>--release</code> 选项
(推荐)</li>
<li>或者将项目的 SDK 版本设置为 8 (Deprecated soon)</li>
</ol>
-<h4 id="2-log4j2-日志无法打印-l-等位置信息">2. Log4j2 日志无法打印 %l 等位置信息</h4>
+<h4
id="2-java-storeraftrpcraftrequests-does-not-exist-rpc-generated-files">2.
java: *.store.raft.rpc.RaftRequests does not exist (RPC Generated Files)</h4>
+<p>原因是源代码没有包含 <code>RPC-generated</code> 文件。可以尝试两种方法来解决:</p>
+<ol>
+<li>[命令] 在根目录下运行 <code>mvn clean compile -DskipTests</code>
(<strong>推荐</strong>)</li>
+<li>[UI] 在 IDEA 中,右键点击 <code>hugegraph</code> 模块,选择 <code>Manve
-&gt; Generate Sources and Update Folders</code></li>
+</ol>
+<h4 id="3-log4j2-日志无法打印-l-等位置信息">3. Log4j2 日志无法打印 %l 等位置信息</h4>
<p>这是因为 Log4j2 中使用了 asynchronous loggers,可以参考<a
href="https://logging.apache.org/log4j/2.x/manual/layouts.html#LocationInformation">官方文档</a>进行配置</p>
<hr>
<h5 id="参考">参考</h5>
diff --git a/cn/docs/index.xml b/cn/docs/index.xml
index c5a959ea..64af4b93 100644
--- a/cn/docs/index.xml
+++ b/cn/docs/index.xml
@@ -9160,7 +9160,13 @@ LICENSE 是 Apache 2.0, 且对应的项目中包含了 NOTICE, 则还需要更
<li>在 IntelliJ IDEA 的 <code>Preferences/Settings</code> 中找到
<code>Java Compiler</code> 面板,然后关闭 <code>--release</code> 选项
(推荐)</li>
<li>或者将项目的 SDK 版本设置为 8 (Deprecated soon)</li>
</ol>
-<h4 id="2-log4j2-日志无法打印-l-等位置信息">2. Log4j2 日志无法打印 %l 等位置信息</h4>
+<h4
id="2-java-storeraftrpcraftrequests-does-not-exist-rpc-generated-files">2.
java: *.store.raft.rpc.RaftRequests does not exist (RPC Generated Files)</h4>
+<p>原因是源代码没有包含 <code>RPC-generated</code> 文件。可以尝试两种方法来解决:</p>
+<ol>
+<li>[命令] 在根目录下运行 <code>mvn clean compile -DskipTests</code>
(<strong>推荐</strong>)</li>
+<li>[UI] 在 IDEA 中,右键点击 <code>hugegraph</code> 模块,选择 <code>Manve
-&gt; Generate Sources and Update Folders</code></li>
+</ol>
+<h4 id="3-log4j2-日志无法打印-l-等位置信息">3. Log4j2 日志无法打印 %l 等位置信息</h4>
<p>这是因为 Log4j2 中使用了 asynchronous loggers,可以参考<a
href="https://logging.apache.org/log4j/2.x/manual/layouts.html#LocationInformation">官方文档</a>进行配置</p>
<hr>
<h5 id="参考">参考</h5>
diff --git a/cn/sitemap.xml b/cn/sitemap.xml
index 4fb954eb..9c89f827 100644
--- a/cn/sitemap.xml
+++ b/cn/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>/cn/docs/language/hugegraph-gremlin/</loc><lastmod>2023-01-01T16:16:43+08:00</lastmod><xhtml:link
rel="alternate" hreflang="en"
href="/docs/language/hugegraph-gremlin/"/><xhtml:link rel="alternate"
hreflang="cn"
href="/cn/docs/language/hugegraph-gremlin/"/></url><url><loc>/cn/docs/performance/hugegraph-benchmark-0.5.6/</lo
[...]
\ 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>/cn/docs/language/hugegraph-gremlin/</loc><lastmod>2023-01-01T16:16:43+08:00</lastmod><xhtml:link
rel="alternate" hreflang="en"
href="/docs/language/hugegraph-gremlin/"/><xhtml:link rel="alternate"
hreflang="cn"
href="/cn/docs/language/hugegraph-gremlin/"/></url><url><loc>/cn/docs/performance/hugegraph-benchmark-0.5.6/</lo
[...]
\ No newline at end of file
diff --git a/docs/_print/index.html b/docs/_print/index.html
index f63a9203..6c2741a6 100644
--- a/docs/_print/index.html
+++ b/docs/_print/index.html
@@ -8143,7 +8143,7 @@ with this <a
href=https://github.com/apache/incubator-hugegraph/wiki/The-style-c
</span></span><span style=display:flex><span> <span
style=color:#8f5902;font-style:italic>// ignore log
</span></span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic></span> <span
style=color:#000>Map</span><span
style=color:#ce5c00;font-weight:700><</span><span
style=color:#000>String</span><span
style=color:#ce5c00;font-weight:700>,</span> <span
style=color:#000>Object</span><span
style=color:#ce5c00;font-weight:700>></span> <span
style=color:#000>props</span> <span
style=color:#ce5c00;font-weight:700>=</span> <span
style=color:#000>parsePropert [...]
</span></span></code></pre></div><p>Then use the RESTful API to request
<code>HugeGraphServer</code>:</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"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><p>At this point, you can view detailed
variable information in the debugger.</p><h4 id=5-log4j2-configuration>5.
Log4j2 Configuration</h4><p>By default, when running <code>InitStore</code> and
<code>HugeGraphServer</code>, the Log4j2 configuration file path read is
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>, not
<code>path-to-your-directory/conf/log4j2.xml</code>. This configuration file is
read when starting HugeGraph-Server using the <st [...]
+</span></span></code></pre></div><p>At this point, you can view detailed
variable information in the debugger.</p><h4 id=5-log4j2-configuration>5.
Log4j2 Configuration</h4><p>By default, when running <code>InitStore</code> and
<code>HugeGraphServer</code>, the Log4j2 configuration file path read is
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>, not
<code>path-to-your-directory/conf/log4j2.xml</code>. This configuration file is
read when starting HugeGraph-Server using the <st [...]
The initiator of the discussion should clearly state the candidate’s
contributions in the discussion email and provide URLs or other information for
confirming the contributions, facilitating discussion and analysis.</p><p>Below
is a template for HugeGraph emails: (For reference
only)</p><blockquote><p>Note: The term <code>xxx</code> will be used to refer
to the candidate. Typically, <code>xxx</code> represents an easily readable
name (e.g., <code>Simon Jay</code>).</p><p>ASF-INFRA [...]
</span></span><span style=display:flex><span>Subject: [DISCUSS] XXX as a
HugeGraph Committer Candidate
</span></span><span style=display:flex><span>
diff --git a/docs/contribution-guidelines/_print/index.html
b/docs/contribution-guidelines/_print/index.html
index d6e212a6..503520c5 100644
--- a/docs/contribution-guidelines/_print/index.html
+++ b/docs/contribution-guidelines/_print/index.html
@@ -206,7 +206,7 @@ with this <a
href=https://github.com/apache/incubator-hugegraph/wiki/The-style-c
</span></span><span style=display:flex><span> <span
style=color:#8f5902;font-style:italic>// ignore log
</span></span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic></span> <span
style=color:#000>Map</span><span
style=color:#ce5c00;font-weight:700><</span><span
style=color:#000>String</span><span
style=color:#ce5c00;font-weight:700>,</span> <span
style=color:#000>Object</span><span
style=color:#ce5c00;font-weight:700>></span> <span
style=color:#000>props</span> <span
style=color:#ce5c00;font-weight:700>=</span> <span
style=color:#000>parsePropert [...]
</span></span></code></pre></div><p>Then use the RESTful API to request
<code>HugeGraphServer</code>:</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"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><p>At this point, you can view detailed
variable information in the debugger.</p><h4 id=5-log4j2-configuration>5.
Log4j2 Configuration</h4><p>By default, when running <code>InitStore</code> and
<code>HugeGraphServer</code>, the Log4j2 configuration file path read is
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>, not
<code>path-to-your-directory/conf/log4j2.xml</code>. This configuration file is
read when starting HugeGraph-Server using the <st [...]
+</span></span></code></pre></div><p>At this point, you can view detailed
variable information in the debugger.</p><h4 id=5-log4j2-configuration>5.
Log4j2 Configuration</h4><p>By default, when running <code>InitStore</code> and
<code>HugeGraphServer</code>, the Log4j2 configuration file path read is
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>, not
<code>path-to-your-directory/conf/log4j2.xml</code>. This configuration file is
read when starting HugeGraph-Server using the <st [...]
The initiator of the discussion should clearly state the candidate’s
contributions in the discussion email and provide URLs or other information for
confirming the contributions, facilitating discussion and analysis.</p><p>Below
is a template for HugeGraph emails: (For reference
only)</p><blockquote><p>Note: The term <code>xxx</code> will be used to refer
to the candidate. Typically, <code>xxx</code> represents an easily readable
name (e.g., <code>Simon Jay</code>).</p><p>ASF-INFRA [...]
</span></span><span style=display:flex><span>Subject: [DISCUSS] XXX as a
HugeGraph Committer Candidate
</span></span><span style=display:flex><span>
diff --git
a/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
b/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
index a38191fe..60fd4f06 100644
--- a/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
+++ b/docs/contribution-guidelines/hugegraph-server-idea-setup/index.html
@@ -3,9 +3,9 @@ NOTE: The following configuration is for reference purposes
only, and has been t
Background …"><meta property="og:title" content="Setup Server in IDEA
(Dev)"><meta property="og:description" content="NOTE: The following
configuration is for reference purposes only, and has been tested on Linux and
macOS platforms based on this version.
Background The Quick Start section provides instructions on how to start and
stop HugeGraph-Server using scripts. In this guide, we will explain how to run
and debug HugeGraph-Server on the Linux platform using IntelliJ IDEA.
-The core steps for local startup are the same as starting with scripts:"><meta
property="og:type" content="article"><meta property="og:url"
content="/docs/contribution-guidelines/hugegraph-server-idea-setup/"><meta
property="article:section" content="docs"><meta
property="article:modified_time" content="2024-04-02T23:43:17+08:00"><meta
property="og:site_name" content="HugeGraph"><meta itemprop=name content="Setup
Server in IDEA (Dev)"><meta itemprop=description content="NOTE: The followi
[...]
+The core steps for local startup are the same as starting with scripts:"><meta
property="og:type" content="article"><meta property="og:url"
content="/docs/contribution-guidelines/hugegraph-server-idea-setup/"><meta
property="article:section" content="docs"><meta
property="article:modified_time" content="2024-04-13T11:47:40-04:00"><meta
property="og:site_name" content="HugeGraph"><meta itemprop=name content="Setup
Server in IDEA (Dev)"><meta itemprop=description content="NOTE: The followi
[...]
Background The Quick Start section provides instructions on how to start and
stop HugeGraph-Server using scripts. In this guide, we will explain how to run
and debug HugeGraph-Server on the Linux platform using IntelliJ IDEA.
-The core steps for local startup are the same as starting with scripts:"><meta
itemprop=dateModified content="2024-04-02T23:43:17+08:00"><meta
itemprop=wordCount content="942"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title content="Setup
Server in IDEA (Dev)"><meta name=twitter:description content="NOTE: The
following configuration is for reference purposes only, and has been tested on
Linux and macOS platforms based on this version.
+The core steps for local startup are the same as starting with scripts:"><meta
itemprop=dateModified content="2024-04-13T11:47:40-04:00"><meta
itemprop=wordCount content="1004"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title content="Setup
Server in IDEA (Dev)"><meta name=twitter:description content="NOTE: The
following configuration is for reference purposes only, and has been tested on
Linux and macOS platforms based on this version.
Background The Quick Start section provides instructions on how to start and
stop HugeGraph-Server using scripts. In this guide, we will explain how to run
and debug HugeGraph-Server on the Linux platform using IntelliJ IDEA.
The core steps for local startup are the same as starting with scripts:"><link
rel=preload
href=/scss/main.min.1764bdd1b00b15c82ea08e6a847f47114a8787b9770c047a8c6082457466ce2b.css
as=style><link
href=/scss/main.min.1764bdd1b00b15c82ea08e6a847f47114a8787b9770c047a8c6082457466ce2b.css
rel=stylesheet integrity><script
src=https://code.jquery.com/jquery-3.5.1.min.js
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin=anonymous></script>
<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
[...]
@@ -45,7 +45,7 @@ with this <a
href=https://github.com/apache/incubator-hugegraph/wiki/The-style-c
</span></span><span style=display:flex><span> <span
style=color:#8f5902;font-style:italic>// ignore log
</span></span></span><span style=display:flex><span><span
style=color:#8f5902;font-style:italic></span> <span
style=color:#000>Map</span><span
style=color:#ce5c00;font-weight:700><</span><span
style=color:#000>String</span><span
style=color:#ce5c00;font-weight:700>,</span> <span
style=color:#000>Object</span><span
style=color:#ce5c00;font-weight:700>></span> <span
style=color:#000>props</span> <span
style=color:#ce5c00;font-weight:700>=</span> <span
style=color:#000>parsePropert [...]
</span></span></code></pre></div><p>Then use the RESTful API to request
<code>HugeGraphServer</code>:</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"</span>
<span style=color:#000;font-weight:700>|</span> gunzip
-</span></span></code></pre></div><p>At this point, you can view detailed
variable information in the debugger.</p><h4 id=5-log4j2-configuration>5.
Log4j2 Configuration</h4><p>By default, when running <code>InitStore</code> and
<code>HugeGraphServer</code>, the Log4j2 configuration file path read is
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>, not
<code>path-to-your-directory/conf/log4j2.xml</code>. This configuration file is
read when starting HugeGraph-Server using the <st [...]
+</span></span></code></pre></div><p>At this point, you can view detailed
variable information in the debugger.</p><h4 id=5-log4j2-configuration>5.
Log4j2 Configuration</h4><p>By default, when running <code>InitStore</code> and
<code>HugeGraphServer</code>, the Log4j2 configuration file path read is
<code>hugegraph-dist/src/main/resources/log4j2.xml</code>, not
<code>path-to-your-directory/conf/log4j2.xml</code>. This configuration file is
read when starting HugeGraph-Server using the <st [...]
<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/contribution-guidelines/index.xml
b/docs/contribution-guidelines/index.xml
index fb949aab..3c6277ff 100644
--- a/docs/contribution-guidelines/index.xml
+++ b/docs/contribution-guidelines/index.xml
@@ -416,7 +416,13 @@ with this <a
href="https://github.com/apache/incubator-hugegraph/wiki/The-sty
<li>In IntelliJ IDEA, go to <code>Preferences/Settings</code> and
find the <code>Java Compiler</code> panel. Then, disable the
<code>--release</code> option (recommended).</li>
<li>Set the Project SDK to 8 (Deprecated soon).</li>
</ol>
-<h4 id="2-unable-to-print-location-information-l-in-log4j2">2. Unable to
Print Location Information (%l) in Log4j2</h4>
+<h4
id="2-java-storeraftrpcraftrequests-does-not-exist-rpc-generated-files">2.
java: *.store.raft.rpc.RaftRequests does not exist (RPC Generated Files)</h4>
+<p>The reason is that the source code didn&rsquo;t include the
<code>RPC-generated</code> files. You could try 2 ways to fix it:</p>
+<ol>
+<li>[CMD]<code>mvn clean compile</code> in the
<strong>root</strong> directory (Recommend)</li>
+<li>[UI] right click on the <code>hugegraph</code> repo and select
<code>Maven-&gt;Generate Sources and Update Folders</code>. This will
rebuild the repo and correctly generate the required files.</li>
+</ol>
+<h4 id="3-unable-to-print-location-information-l-in-log4j2">3. Unable to
Print Location Information (%l) in Log4j2</h4>
<p>This is because Log4j2 uses asynchronous loggers. You can refer to the
<a
href="https://logging.apache.org/log4j/2.x/manual/layouts.html#LocationInformation">official
documentation</a> for configuration details.</p>
<hr>
<h3 id="references">References</h3>
diff --git a/docs/index.xml b/docs/index.xml
index 8aade339..55a88565 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -9171,7 +9171,13 @@ with this <a
href="https://github.com/apache/incubator-hugegraph/wiki/The-sty
<li>In IntelliJ IDEA, go to <code>Preferences/Settings</code> and
find the <code>Java Compiler</code> panel. Then, disable the
<code>--release</code> option (recommended).</li>
<li>Set the Project SDK to 8 (Deprecated soon).</li>
</ol>
-<h4 id="2-unable-to-print-location-information-l-in-log4j2">2. Unable to
Print Location Information (%l) in Log4j2</h4>
+<h4
id="2-java-storeraftrpcraftrequests-does-not-exist-rpc-generated-files">2.
java: *.store.raft.rpc.RaftRequests does not exist (RPC Generated Files)</h4>
+<p>The reason is that the source code didn&rsquo;t include the
<code>RPC-generated</code> files. You could try 2 ways to fix it:</p>
+<ol>
+<li>[CMD]<code>mvn clean compile</code> in the
<strong>root</strong> directory (Recommend)</li>
+<li>[UI] right click on the <code>hugegraph</code> repo and select
<code>Maven-&gt;Generate Sources and Update Folders</code>. This will
rebuild the repo and correctly generate the required files.</li>
+</ol>
+<h4 id="3-unable-to-print-location-information-l-in-log4j2">3. Unable to
Print Location Information (%l) in Log4j2</h4>
<p>This is because Log4j2 uses asynchronous loggers. You can refer to the
<a
href="https://logging.apache.org/log4j/2.x/manual/layouts.html#LocationInformation">official
documentation</a> for configuration details.</p>
<hr>
<h3 id="references">References</h3>
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 676d8e1a..ba0d2374 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 01ec347f..058e9b4b 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>2024-04-07T17:24:46+08:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2024-04-07T17:24:46+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>2024-04-13T11:47:40-04:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2024-04-13T11:47:40-04:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file