Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimization #1265

Merged
merged 1 commit into from
Nov 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ leader 是由多数派选举出来,只有 leader 能够对客户端或其他

!!! Note

leader 和 follower 的数据通过 Raft 协议保持一致,因此 leader 故障和选举新 leader 不会导致数据不一致。更多关于 Raft 的介绍见附录
leader 和 follower 的数据通过 Raft 协议保持一致,因此 leader 故障和选举新 leader 不会导致数据不一致。更多关于 Raft 的介绍见 [Storage 服务](4.storage-service.md)

## Meta 服务功能

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/14.client/3.nebula-cpp-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

将 CPP 文件编译为可执行文件即可。接下来以`SessionExample.cpp`为例,介绍如何操作。

1. 使用[示例代码](https://github.com/vesoft-inc/nebula-cpp/blob/master/examples/SessionExample.cpp) 创建`SessionExample.cpp`文件。
1. 使用[示例代码](https://github.com/vesoft-inc/nebula-cpp/blob/master/examples/SessionExample.cpp)创建`SessionExample.cpp`文件。

2. 编译文件,命令如下:

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/14.client/4.nebula-java-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</repositories>
```

如果没有 Maven 管理项目,请手动[下载 JAR 包](https://repo1.maven.org/maven2/com/vesoft/) 进行安装。
如果没有 Maven 管理项目,请手动[下载 JAR 包](https://repo1.maven.org/maven2/com/vesoft/)进行安装。

### 核心代码

Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/15.contribution/how-to-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### github 或社区提交问题

欢迎为项目贡献任何代码或文档,但是建议先在 [github](https://github.com/vesoft-inc/nebula) 或[社区](https://discuss.nebula-graph.io/) 上提交一个问题,和大家共同讨论。
欢迎为项目贡献任何代码或文档,但是建议先在 [github](https://github.com/vesoft-inc/nebula) 或[社区](https://discuss.nebula-graph.io/)上提交一个问题,和大家共同讨论。

### 签署贡献者许可协议(CLA)

Expand All @@ -28,9 +28,9 @@ Nebula Graph 文档以 Markdown 语言编写。单击文档标题右侧的铅笔

### Step 1:通过 GitHub fork 仓库

Nebula Graph 项目有很多[仓库](https://github.com/vesoft-inc),以 [nebula-graph 仓库](https://github.com/vesoft-inc/nebula) 为例:
Nebula Graph 项目有很多[仓库](https://github.com/vesoft-inc),以 [nebula-graph 仓库](https://github.com/vesoft-inc/nebula)为例:

1. 访问 [https://github.com/vesoft-inc/nebula](https://github.com/vesoft-inc/nebula)。
1. 访问 [github.com/vesoft-inc/nebula](https://github.com/vesoft-inc/nebula)。

2. 在右上角单击按钮`Fork`,然后单击用户名,即可 fork 出 nebula-graph 仓库。

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Nebula Graph {{ nebula.release }} 的数据模型中,异常情况下可能会

报错原因通常为 Graph 服务向 Storage 服务请求了过多的数据,导致 Storage 服务超时。请尝试以下解决方案:

* [修改配置文件](../5.configurations-and-logs/1.configurations/3.graph-config.md): 在`nebula-graphd.conf`文件中修改`--storage_client_timeout_ms`参数的值,以增加 Storage client 的连接超时时间。该值的单位为毫秒(ms)。例如,设置`--storage_client_timeout_ms=60000`。如果`nebula-graphd.conf`文件中未配置该参数,请手动增加。提示:请在配置文件开头添加--local_config=true 再重启服务。
* [修改配置文件](../5.configurations-and-logs/1.configurations/3.graph-config.md)在`nebula-graphd.conf`文件中修改`--storage_client_timeout_ms`参数的值,以增加 Storage client 的连接超时时间。该值的单位为毫秒(ms)。例如,设置`--storage_client_timeout_ms=60000`。如果`nebula-graphd.conf`文件中未配置该参数,请手动增加。提示:请在配置文件开头添加--local_config=true 再重启服务。
* 优化查询语句:减少全库扫描型的查询,无论是否用`LIMIT`限制了返回结果的数量;用 GO 语句改写 MATCH 语句(前者有优化,后者无优化)。
* 检查 Storaged 是否发生过 OOM。(`dmesg |grep nebula`)。
* 为 Storage 服务器提供性能更好的 SSD 或者内存。
Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/20.appendix/write-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
有多种方式可以写入 Nebula Graph {{ nebula.release }}:

- 使用[命令行 -f 的方式](../2.quick-start/3.connect-to-nebula-graph.md)导入:可以导入少量准备好的 nGQL 文件,适合少量手工测试数据准备;
- 使用 [studio 导入](../nebula-studio/quick-start/st-ug-import-data.md): 可以用过浏览器导入本机多个 csv 文件,单个文件不超过 100 MB,格式有限制;
- 使用 [importer 导入](../nebula-importer/use-importer.md): 导入单机多个 csv 文件,大小没有限制,格式灵活;
- 使用 [Exchange 导入](../nebula-exchange/about-exchange/ex-ug-what-is-exchange.md): 从 Neo4j, Hive, MySQL 等多种源分布式导入,需要有 Spark 集群;
- 使用 [studio 导入](../nebula-studio/quick-start/st-ug-import-data.md)可以用过浏览器导入本机多个 csv 文件,单个文件不超过 100 MB,格式有限制;
- 使用 [importer 导入](../nebula-importer/use-importer.md)导入单机多个 csv 文件,大小没有限制,格式灵活;
- 使用 [Exchange 导入](../nebula-exchange/about-exchange/ex-ug-what-is-exchange.md)从 Neo4j, Hive, MySQL 等多种源分布式导入,需要有 Spark 集群;
- 使用 [Spark-connector](../nebula-spark-connector.md)/[Flink-connector](../nebula-flink-connector.md) 导入:有相应组件 (Spark/Flink),撰写少量代码;
- 使用 [C++/GO/Java/Python SDK](../20.appendix/6.eco-tool-version.md):编写程序的方式导入,需要有一定编程和调优能力。

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/10.tag-statements/4.show-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

`SHOW TAGS`语句显示当前图空间内的所有 Tag 名称。

执行`SHOW TAGS`语句不需要任何权限,但是返回结果由登录的用户[权限](../../7.data-security/1.authentication/3.role-list.md) 决定。
执行`SHOW TAGS`语句不需要任何权限,但是返回结果由登录的用户[权限](../../7.data-security/1.authentication/3.role-list.md)决定。

## 语法

Expand Down
26 changes: 13 additions & 13 deletions docs-2.0/3.ngql-guide/3.data-types/1.numeric.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 数值

nGQL支持整数和浮点数
nGQL 支持整数和浮点数

## 整数

nGQL支持带符号的64位整数(INT64)、32位整数(INT32)、16位整数(INT16)和8位整数(INT8)。
nGQL 支持带符号的 64 位整数(INT64)、32 位整数(INT32)、16 位整数(INT16)和 8 位整数(INT8)。

| 类型 | 声明关键字 | 范围 |
|-|-|-|
Expand All @@ -15,24 +15,24 @@ nGQL支持带符号的64位整数(INT64)、32位整数(INT32)、16位整

## 浮点数

nGQL支持单精度浮点(FLOAT)和双精度浮点(DOUBLE)。
nGQL 支持单精度浮点(FLOAT)和双精度浮点(DOUBLE)。

| 类型 | 声明关键字 | 范围 | 精度 |
|-|-|-|-|
| FLOAT | `FLOAT` | 3.4E +/- 38 | 6~7位 |
| DOUBLE | `DOUBLE` | 1.7E +/- 308 | 15~16位 |
| FLOAT | `FLOAT` | 3.4E +/- 38 | 6~7 位 |
| DOUBLE | `DOUBLE` | 1.7E +/- 308 | 15~16 位 |

nGQL支持科学计数法,例如`1e2`、`1.1e2`、`.3e4`、`1.e4`、`-1234E-10`。
nGQL 支持科学计数法,例如`1e2`、`1.1e2`、`.3e4`、`1.e4`、`-1234E-10`。

!!! note

不支持MySQL中的DECIMAL数据类型
不支持 MySQL 中的 DECIMAL 数据类型

## 数值的读写

在写入和读取不同类型的数据时,nGQL的行为遵守以下规则
在写入和读取不同类型的数据时,nGQL 的行为遵守以下规则

| 数值类型 | 设置为VID | 设置为属性类型 | 读取该类型的属性值得到的类型 |
| 数值类型 | 设置为 VID | 设置为属性类型 | 读取该类型的属性值得到的类型 |
|-|-|-|-|
| INT64 | 支持 | 支持 | INT64 |
| INT32 | 不支持 | 支持 | INT64 |
Expand All @@ -41,14 +41,14 @@ nGQL支持科学计数法,例如`1e2`、`1.1e2`、`.3e4`、`1.e4`、`-1234E-10
| FLOAT | 不支持 | 支持 | DOUBLE |
| DOUBLE | 不支持 | 支持 | DOUBLE |

例如,nGQL不支持设置INT8类型的[VID](../../1.introduction/3.vid.md),但支持将[TAG](../10.tag-statements/1.create-tag.md)[Edge type](../11.edge-type-statements/1.create-edge.md)的某个属性类型设置为INT8。当使用nGQL语句读取INT8类型的属性时,获取到的值的类型为INT64
例如,nGQL 不支持设置 INT8 类型的 [VID](../../1.introduction/3.vid.md),但支持将 [TAG](../10.tag-statements/1.create-tag.md)[Edge type](../11.edge-type-statements/1.create-edge.md) 的某个属性类型设置为 INT8。当使用 nGQL 语句读取 INT8 类型的属性时,获取到的值的类型为 INT64

同时,Nebula Graph支持写入多种进制的数值
同时,Nebula Graph 支持写入多种进制的数值

- 十进制,例如`123456`。
- 十六进制,例如`0x1e240`。
- 八进制,例如`0361100`。

但Nebula Graph会将写入的非十进制数值解析为十进制的值保存。读取到的值为十进制。
但 Nebula Graph 会将写入的非十进制数值解析为十进制的值保存。读取到的值为十进制。

例如,属性`score`的类型为`INT`,通过INSERT语句为其赋值`0xb`,使用FETCH等语句查询该属性值获取到的结果是`11`,即将十六进制的`0xb`转换为十进制后的值。
例如,属性`score`的类型为`INT`,通过 INSERT 语句为其赋值`0xb`,使用 FETCH 等语句查询该属性值获取到的结果是`11`,即将十六进制的`0xb`转换为十进制后的值。
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/3.data-types/10.geography.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 地理位置

地理位置(GEOGRAPHY)是由经纬度构成的表示地理空间信息的数据类型。Nebula Graph 当前支持[简单地理要素](https://en.wikipedia.org/wiki/Simple_Features) 中的 Point、LineString 和 Polygon 三种地理形状。支持 [SQL-MM 3](https://www.techrepublic.com/index.php/resource-library/whitepapers/sql-mm-spatial-the-standard-to-manage-spatial-data-in-relational-database-systems/) 中的部分核心 geo 解析、构造、格式设置、转换、谓词和度量等函数。
地理位置(GEOGRAPHY)是由经纬度构成的表示地理空间信息的数据类型。Nebula Graph 当前支持[简单地理要素](https://en.wikipedia.org/wiki/Simple_Features)中的 Point、LineString 和 Polygon 三种地理形状。支持 [SQL-MM 3](https://www.techrepublic.com/index.php/resource-library/whitepapers/sql-mm-spatial-the-standard-to-manage-spatial-data-in-relational-database-systems/) 中的部分核心 geo 解析、构造、格式设置、转换、谓词和度量等函数。

## GEOGRAPHY

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/5.operators/6.set.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ nebula> GO FROM "player102" OVER follow \

## 集合运算符和管道符的优先级

当查询包含集合运算符和管道符(|)时,[管道符](../5.operators/4.pipe.md) 的优先级高。例如`GO FROM 1 UNION GO FROM 2 | GO FROM 3`相当于`GO FROM 1 UNION (GO FROM 2 | GO FROM 3)`。
当查询包含集合运算符和管道符(|)时,[管道符](../5.operators/4.pipe.md)的优先级高。例如`GO FROM 1 UNION GO FROM 2 | GO FROM 3`相当于`GO FROM 1 UNION (GO FROM 2 | GO FROM 3)`。

### 示例

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

### 软件要求

软件版本需要如下表所示,如果它们不符合要求,或者也不确定它们的版本,请按照[安装编译所需软件](#_5) 中的步骤进行操作。
软件版本需要如下表所示,如果它们不符合要求,或者也不确定它们的版本,请按照[安装编译所需软件](#_5)中的步骤进行操作。

| 软件名称 | 版本 | 备注 |
| ---------------- | ---------- | ----------------------------------------|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

!!! Note

如果长期未更新镜像,请先更新 [Nebula Graph 镜像](#nebula_graphdocker) 和 [Nebula Console 镜像](#nebula_console)。
如果长期未更新镜像,请先更新 [Nebula Graph 镜像](#nebula_graphdocker)和 [Nebula Console 镜像](#nebula_console)。

```bash
[nebula-docker-compose]$ docker-compose up -d
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0/7.data-security/3.manage-snapshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Nebula Graph 提供快照(snapshot)功能,用于保存集群当前时间

## 前提条件

Nebula Graph 的[身份认证](1.authentication/1.authentication.md) 功能默认是关闭的,此时任何用户都能使用快照功能。
Nebula Graph 的[身份认证](1.authentication/1.authentication.md)功能默认是关闭的,此时任何用户都能使用快照功能。

如果身份认证开启,仅 God 角色用户可以使用快照功能。关于角色说明,请参见[内置角色权限](1.authentication/3.role-list.md)。

Expand Down Expand Up @@ -38,7 +38,7 @@ $ find |grep 'SNAPSHOT_2021_03_09_08_43_12'

!!! Note

如果快照创建失败,请[删除快照](#_7) 重新创建。
如果快照创建失败,请[删除快照](#_7)重新创建。

```ngql
nebula> CREATE SNAPSHOT;
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/8.service-tuning/load-balance.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
+-------------+------+----------+--------------+-----------------------------------+------------------------+
```

如果有子任务失败,请重新执行`BALANCE DATA`。如果重做负载均衡仍然不能解决问题,请到 [Nebula Graph 社区](https://discuss.nebula-graph.com.cn/) 寻求帮助。
如果有子任务失败,请重新执行`BALANCE DATA`。如果重做负载均衡仍然不能解决问题,请到 [Nebula Graph 社区](https://discuss.nebula-graph.com.cn/)寻求帮助。

## 停止负载均衡任务

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
- 输入集群的名称,最大可输入 15 个字符,本示例设置为`create_1027`。
- 对节点进行 **授权**,授权需输入每个节点的 SSH 用户名及密码。
- **批量授权**需要上传 CSV 文件。请根据下载的 CSV 文件,编辑每个节点授权信息,尽量确保节点信息正确,否则容易造成上传失败。
![批量授权](../figs/ds-026.png)
![批量授权](../figs/ds-026.png)
- 页面中节点状态变为 **已授权**,则该节点授权成功。
![授权](../figs/ds-027.png)
![授权](../figs/ds-027.png)

4. 确保所有节点都授权成功,点击 **导入集群**。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Dashboard 的集群总览页面分为五个部分:
### 节点监控

- 支持快速查看节点监控信息,可点击切换展示的信息,默认显示 cpu 信息。
- 支持在页面上点击[setup](../figs/Setup.png) 插入基准线。
- 点击[watch](../figs/watch.png) 快速跳转至节点监控页面,查看详情信息。
- 支持在页面上点击![setup](../figs/Setup.png) 插入基准线。
- 点击![watch](../figs/watch.png) 快速跳转至节点监控页面,查看详情信息。

### 状态列表

Expand All @@ -44,6 +44,6 @@ Dashboard 的集群总览页面分为五个部分:

- 默认显示`query_latency_us`(查询平均延迟)和`slow_query_latency_us`(慢查询平均延迟)的信息。

- 点击[setup](../figs/Setup.png) **设置** 插入基准线。
- 点击![setup](../figs/Setup.png) **设置** 插入基准线。

- 点击[watch](../figs/watch.png) 快速跳转至服务监控页面,查看详情信息。
- 点击![watch](../figs/watch.png) 快速跳转至服务监控页面,查看详情信息。
6 changes: 3 additions & 3 deletions docs-2.0/nebula-dashboard-ent/4.cluster-operator/2.monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

快速查看 CPU、Memory、Load、Disk 和 Network In/Out 变化情况。

- 如果需要设置基线,作为参考标准线,可以单击模块右上角的[setup](../figs/Setup.png) 按钮。
- 如果需要查看某一项更详细的监控指标,可以单击模块右上角的[watch](../figs/watch.png) 按钮,在示例中选择`Load`查看详情信息,如下图。
- 如果需要设置基线,作为参考标准线,可以单击模块右上角的![setup](../figs/Setup.png) 按钮。
- 如果需要查看某一项更详细的监控指标,可以单击模块右上角的![watch](../figs/watch.png) 按钮,在示例中选择`Load`查看详情信息,如下图。
![load](../figs/ds-003.png)
- 默认最多可选择 14 天的监控数据进行查看,也可以快捷选择 1 小时、6 小时、12 小时、1 天、3 天、7 天和 14 天,支持修改查看时间。
- 可以选择需要查看的机器和监控指标。监控指标详情请参见[监控指标说明](../7.monitor-parameter.md)。
Expand All @@ -25,7 +25,7 @@

当前企业版的服务监控页仅支持每种服务设置两个监控指标,可以单击模块内的设置按钮进行调整。

- 如果需要查看某一项更详细的监控指标,可以单击模块右上角的[watch](../figs/watch.png) 按钮,在示例中选择 `Graph` 查看详情信息,如下图。
- 如果需要查看某一项更详细的监控指标,可以单击模块右上角的![watch](../figs/watch.png) 按钮,在示例中选择 `Graph` 查看详情信息,如下图。
![service](../figs/ds-005.png)
- 默认最多可选择 14 天的监控数据进行查看,也可以快捷选择 1 小时、6 小时、12 小时、1 天、3 天、7 天和 14 天,支持修改查看时间。
- 可以选择需要查看的机器和监控指标。监控指标详情请参见[监控指标说明](../7.monitor-parameter.md)。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

## 更新配置

更新配置页面可以修改 Storage 及 Graph 服务的配置文件,具体参数及描述见 [Storage 服务配置](../../5.configurations-and-logs/1.configurations/4.storage-config.md) 和 [Graph 服务配置](../../5.configurations-and-logs/1.configurations/3.graph-config.md)。更新配置文件为批量操作,将会修改每一个 Storage/Graph 的配置文件。
更新配置页面可以修改 Storage 及 Graph 服务的配置文件,具体参数及描述见 [Storage 服务配置](../../5.configurations-and-logs/1.configurations/4.storage-config.md)和 [Graph 服务配置](../../5.configurations-and-logs/1.configurations/3.graph-config.md)。更新配置文件为批量操作,将会修改每一个 Storage/Graph 的配置文件。

- 点击保存后,在下一次服务重启后配置即生效。

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/nebula-dashboard-ent/8.faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Meta 服务主要存储 Nebula Graph 数据库中的元数据。一旦 Meta 服
- 确保 License 已拷贝至 Dashboard 目录中,且执行了`sudo ./dashboard.service start all`命令。
- 确保 License 未过期。

用户也可以在 Dashboard 目录中执行`cat logs/webserver.log`查看各个模块的启动信息。如果满足以上条件,仍无法启动 Dashboard,请前往 [Nebula Graph 官方论坛](https://discuss.nebula-graph.com.cn/ "点击前往 Nebula Graph 官方论坛") 咨询。
用户也可以在 Dashboard 目录中执行`cat logs/webserver.log`查看各个模块的启动信息。如果满足以上条件,仍无法启动 Dashboard,请前往 [Nebula Graph 官方论坛](https://discuss.nebula-graph.com.cn/ "点击前往 Nebula Graph 官方论坛")咨询。

## 是否可以手动添加 Nebula Graph 安装包?

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/nebula-dashboard/1.what-is-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Nebula Dashboard(简称 Dashboard)是一款用于监控 Nebula Graph 集群

!!! enterpriseonly

企业版增加了可视化创建集群、批量导入集群、快速扩缩容等功能,点击[定价](https://nebula-graph.com.cn/pricing/) 查看更多。
企业版增加了可视化创建集群、批量导入集群、快速扩缩容等功能,点击[定价](https://nebula-graph.com.cn/pricing/)查看更多。

## 产品功能

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/nebula-exchange/ex-ug-compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
在`target`目录下,用户可以找到`exchange-2.x.y.jar`文件。

!!! note
JAR 文件版本号会因 Nebula Java Client 的发布版本而变化。用户可以在 [Releases 页面](https://github.com/vesoft-inc/nebula-java/releases) 查看最新版本。
JAR 文件版本号会因 Nebula Java Client 的发布版本而变化。用户可以在 [Releases 页面](https://github.com/vesoft-inc/nebula-java/releases)查看最新版本。

迁移数据时,用户可以参考配置文件 [`target/classes/application.conf`](https://github.com/vesoft-inc/nebula-exchange/blob/master/nebula-exchange/src/main/resources/application.conf)。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

!!! note

如果使用 [yarn-cluster 模式](https://spark-reference-doc-cn.readthedocs.io/zh_CN/latest/deploy-guide/running-on-yarn.html) 提交任务,请参考如下示例:
如果使用 [yarn-cluster 模式](https://spark-reference-doc-cn.readthedocs.io/zh_CN/latest/deploy-guide/running-on-yarn.html)提交任务,请参考如下示例:

```bash
$SPARK_HOME/bin/spark-submit --master yarn-cluster \
Expand Down
Loading