Skip to content

Commit

Permalink
specify .bashrc location clearly and delete uncessary cmds. (#60)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
czs007 authored Jul 15, 2020
1 parent b0f594a commit d758dff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc-cn/source/install/install_arctern_on_spark_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## 安装并配置 Spark

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

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

若最后结果输出包含以下内容,则表示通过测试样例。
Expand Down
5 changes: 2 additions & 3 deletions doc-cn/source/install/standalone_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ $ sudo yum install mesa-libGLU-devel mesa-libOSMesa-devel
```
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh -b
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> .bashrc
$ rm Miniconda3-latest-Linux-x86_64.sh
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> $HOME/.bashrc
```

关闭当前终端,并重新打开一个新的终端。在新终端中打印所有 Conda 环境。若出现 `base` 环境,则 Conda 安装成功。
Expand Down Expand Up @@ -101,4 +100,4 @@ $ conda activate arctern_env
```bash
$ conda deactivate
$ conda remove -n arctern_env --all
```
```
5 changes: 2 additions & 3 deletions doc-en/source/quick_start/standalone_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ Install [Miniconda](https://docs.conda.io/projects/conda/en/latest/user-guide/in
```
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh -b
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> .bashrc
$ rm Miniconda3-latest-Linux-x86_64.sh
$ echo "source $HOME/miniconda3/etc/profile.d/conda.sh" >> $HOME/.bashrc
```

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.
Expand Down Expand Up @@ -101,4 +100,4 @@ version : 0.2.0
```bash
$ conda deactivate
$ conda remove -n arctern_env --all
```
```

0 comments on commit d758dff

Please sign in to comment.