Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work 异常 #6

Open
withlin opened this issue Nov 1, 2018 · 3 comments
Open

work 异常 #6

withlin opened this issue Nov 1, 2018 · 3 comments

Comments

@withlin
Copy link

withlin commented Nov 1, 2018

com.ucar.datalink.common.errors.DataLinkException:Worker is not found for client id [null] or ip [172.21.0.1]
环境:
centos7

java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

目前的解决办法是曲线救国:
在work conf设置client.id=1 (此1为Manager的web管理界面的菜单:集群管理->机器管理->机器ID)

@lulu2panpan
Copy link
Contributor

worker启动的时候,client.id,要么从本地配置文件获取,要么从数据库通过ip反向查询
前者适用于【开发环境】或者【一台机器部署多个Worker】的场景,后者适用于【一台机器部署一个worker】的场景

@wsv8088
Copy link

wsv8088 commented May 30, 2019

worker启动的时候,client.id,要么从本地配置文件获取,要么从数据库通过ip反向查询
前者适用于【开发环境】或者【一台机器部署多个Worker】的场景,后者适用于【一台机器部署一个worker】的场景

什么意思,没懂啊,我是后者,如何配置?

@elevenqq
Copy link
Contributor

worker启动的时候,client.id,要么从本地配置文件获取,要么从数据库通过ip反向查询
前者适用于【开发环境】或者【一台机器部署多个Worker】的场景,后者适用于【一台机器部署一个worker】的场景

什么意思,没懂啊,我是后者,如何配置?

按照quickStart里面的在页面配置worker就行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants