forked from Angel-ML/angel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# 本地运行模式 | ||
|
||
--- | ||
|
||
## 1. 运行环境准备 | ||
|
||
* Hadoop >= 2.2.0 | ||
* Java 1.8版本 | ||
* Angel发布包 angel-1.0.0-bin.zip | ||
|
||
配置好HADOOP_HOME和JAVA_HOME环境变量,解压Angel发布包,就可以以LOCAL模式运行Angel任务了。 | ||
|
||
## 2. LOCAL 运行例子 | ||
|
||
发布包解压后,在根目录下有一个bin目录,提交任务相关的脚本都放在该目录下。例如运行简单的逻辑回归的例子: | ||
|
||
```./angel-example com.tencent.angel.example.SgdLRLocalExample``` | ||
# 本地运行模式 | ||
|
||
本地运行模式主要用于测试功能是否正确。目前本地运行模式仅支持一个Worker(可以有多个Task)和一个PS。可以通过配置选项`angel.deploy.mode`来使用本地运行模式,具体的参数配置可参考[Angel系统参数](./config_details.md) | ||
|
||
## 1. 运行环境准备 | ||
|
||
* Hadoop >= 2.2.0 | ||
* Java 1.8版本 | ||
* Angel发布包 angel-1.0.0-bin.zip | ||
|
||
配置好HADOOP_HOME和JAVA_HOME环境变量,解压Angel发布包,就可以以LOCAL模式运行Angel任务了。 | ||
|
||
## 2. LOCAL 运行例子 | ||
|
||
发布包解压后,在根目录下有一个bin目录,提交任务相关的脚本都放在该目录下。例如运行简单的逻辑回归的例子: | ||
|
||
```./angel-example com.tencent.angel.example.SgdLRLocalExample``` |