Browse Source

[doc] Add how obtain IP address from network card in FAQ (#11311)

This pull request update the FAQ doc (faq.md) by adding how to obtain the IP address
from the specified network card, which is part of relevant information created when 
the master service and worker service are registered with zookeeper.
3.1.0-release
Shuo Zhang 2 years ago committed by GitHub
parent
commit
50380e008f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/docs/en/faq.md
  2. 6
      docs/docs/zh/faq.md

6
docs/docs/en/faq.md

@ -575,6 +575,12 @@ Modify the configuration in `common.properties`:
# dolphin.scheduler.network.priority.strategy=default
```
In addition, if you would like to obtain the ip address from the specified network card, modify the configuration `dolphin.scheduler.network.interface.preferred` in `common.properties`. For example, you could modify the configuration in `common.properties` as follows to obtain the ip address from the network card `eth1`:
```shell
dolphin.scheduler.network.interface.preferred=eth1
```
After configuration is modified, restart the service to activation
If the ip address is still wrong, please download [dolphinscheduler-netutils.jar](/asset/dolphinscheduler-netutils.jar) to the machine, execute the following commands and feedback the output to the community developers:

6
docs/docs/zh/faq.md

@ -555,6 +555,12 @@ master 服务、worker 服务在 zookeeper 注册时,会以 ip:port 的形式
# dolphin.scheduler.network.priority.strategy=default
```
另外,如果希望从指定的网卡获取 ip 地址,配置方式是在 `common.properties` 中设置配置项 `dolphin.scheduler.network.interface.preferred`。例如,如果希望从网卡 `eth1` 获取 ip 地址,配置方式是:
```shell
dolphin.scheduler.network.interface.preferred=eth1
```
以上配置修改后重启服务生效
如果 ip 地址获取依然错误,请下载 [dolphinscheduler-netutils.jar](/asset/dolphinscheduler-netutils.jar) 到相应机器,执行以下命令以进一步排障,并反馈给社区开发人员:

Loading…
Cancel
Save