Skip to content

Commit d758dff

Browse files
authored
specify .bashrc location clearly and delete uncessary cmds. (#60)
* update docs * rename * fix bug * update doc * revert * add docs * refactor * refactor * refactor * modify cluster installation document * add cluster_node.md * fix * add png * change png * change host name * modify * add cluster_code ref * modify * modify * modify * modify * modify * modify * refactor * add cluster_api for doc-cn * update png url * fix url * change * fix bug * add hive-site.xml step * fix missing url * change * change * emphasize local * enchancement * delete uncessary * enchancement * delete uncessary
1 parent b0f594a commit d758dff

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

doc-cn/source/install/install_arctern_on_spark_cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## 安装并配置 Spark
1212

13-
以下对 local 模式的 Spark 安装和配置流程进行介绍。
13+
以下对 **local** 模式的 Spark 安装和配置流程进行介绍。
1414
> **注意:** 若需要以集群模式安装 Spark ,请参考 [Spark 官方文档](https://spark.apache.org/docs/latest/)
1515
同时也可以参考 [在 Spark 集群上安装部署 Arctern](./cluster_installation.md)
1616

@@ -121,7 +121,7 @@ $ wget https://raw.githubusercontent.com/arctern-io/arctern/branch-0.3.x/spark/p
121121
> **注意:** 此种方式不强制要求进入 Conda 环境。
122122
123123
```bash
124-
$ spark-submit <path/to/spark_udf_ex.py>
124+
$ spark-submit --master local <path/to/spark_udf_ex.py>
125125
```
126126

127127
若最后结果输出包含以下内容,则表示通过测试样例。

doc-cn/source/install/standalone_installation.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ $ sudo yum install mesa-libGLU-devel mesa-libOSMesa-devel
5353
```
5454
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
5555
$ bash Miniconda3-latest-Linux-x86_64.sh -b
56-
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> .bashrc
57-
$ rm Miniconda3-latest-Linux-x86_64.sh
56+
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> $HOME/.bashrc
5857
```
5958

6059
关闭当前终端,并重新打开一个新的终端。在新终端中打印所有 Conda 环境。若出现 `base` 环境,则 Conda 安装成功。
@@ -101,4 +100,4 @@ $ conda activate arctern_env
101100
```bash
102101
$ conda deactivate
103102
$ conda remove -n arctern_env --all
104-
```
103+
```

doc-en/source/quick_start/standalone_installation.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ Install [Miniconda](https://docs.conda.io/projects/conda/en/latest/user-guide/in
5353
```
5454
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
5555
$ bash Miniconda3-latest-Linux-x86_64.sh -b
56-
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> .bashrc
57-
$ rm Miniconda3-latest-Linux-x86_64.sh
56+
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> $HOME/.bashrc
5857
```
5958

6059
Close the current terminal. Then, open a new terminal and run the commands below to list all Conda environments in it. Conda installation is successful if the `base` environment is printed.
@@ -101,4 +100,4 @@ version : 0.2.0
101100
```bash
102101
$ conda deactivate
103102
$ conda remove -n arctern_env --all
104-
```
103+
```

0 commit comments

Comments
 (0)