liuxunorg commented on a change in pull request #131: SUBMARINE-309. Make yarn 
service configuraiton optional in installation guide.
URL: https://github.com/apache/submarine/pull/131#discussion_r361240428
 
 

 ##########
 File path: dev-support/submarine-installer/InstallationGuideChineseVersion.md
 ##########
 @@ -614,6 +540,182 @@ Distributed-shell + GPU + cgroup
  --worker_launch_cmd "python /test/cifar10_estimator/cifar10_main.py 
--data-dir=hdfs://${dfs_name_service}/tmp/cifar-10-data 
--job-dir=hdfs://${dfs_name_service}/tmp/cifar-10-jobdir --train-steps=500 
--eval-batch-size=16 --train-batch-size=16 --sync --num-gpus=1"
 ```
 
+## Yarn Service Runtime (不推荐)
+
+hadoop 3.1.0 提供了 yarn native service 功能,Submarine 可以利用 yarn native service 
提交分布式机器学习任务。
+但是,由于使用 yarn native service 会引入一些额外的组件,导致部署和运维服务比较困难,因而在 Submarine 0.3.0之后 
Yarn Server Runtime 不再推荐使用。我们建议直接使用
+YarnRuntime,这样可以在 yarn 2.9 上提交机器学习任务。
+开启 Yarn Service Runtime,可以参照下面的方法
+
+### 安装 Etcd
+
+运行 Submarine/install.sh 脚本,就可以在指定服务器中安装 Etcd 组件和服务自启动脚本。
+
+```shell
+$ ./Submarine/install.sh
+# 通过如下命令查看 Etcd 服务状态
+systemctl status Etcd.service
+```
+
+检查 Etcd 服务状态
+
+```shell
+$ etcdctl cluster-health
+member 3adf2673436aa824 is healthy: got healthy result from 
http://${etcd_host_ip1}:2379
+member 85ffe9aafb7745cc is healthy: got healthy result from 
http://${etcd_host_ip2}:2379
+member b3d05464c356441a is healthy: got healthy result from 
http://${etcd_host_ip3}:2379
+cluster is healthy
+
+$ etcdctl member list
+3adf2673436aa824: name=etcdnode3 peerURLs=http://${etcd_host_ip1}:2380 
clientURLs=http://${etcd_host_ip1}:2379 isLeader=false
+85ffe9aafb7745cc: name=etcdnode2 peerURLs=http://${etcd_host_ip2}:2380 
clientURLs=http://${etcd_host_ip2}:2379 isLeader=false
+b3d05464c356441a: name=etcdnode1 peerURLs=http://${etcd_host_ip3}:2380 
clientURLs=http://${etcd_host_ip3}:2379 isLeader=true
+```
+其中,${etcd_host_ip*} 是etcd服务器的ip
 
 Review comment:
   是etcd服务器的ip
   Add a space before and after `etcd`.
   `ip` need this too.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to