You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by Andy <an...@163.com> on 2022/06/07 09:28:36 UTC
[DISCUSS]Execute the shell script to report an error
————— 2022-6-2 —————
Heisenberg 19:37
Image 1 (can be viewed in the attachment)
Heisenberg 19:37
linkis 1.1.2, after the deployment is completed, execute the shell script to report an error,
Heisenberg 19:38
Caused by: org.apache.linkis.rpc.exception.NoInstanceExistsException: errCode: 10051 ,desc: The instance centost-bigdatahbase-28098:9102 of application linkis-cg-engineconnmanager is not exists.
Mr. Lightning 19:38
Has this engine hung up?
Heisenberg 19:38
The ECM service starts normally, no error is reported, and the eureka page is registered
Heisenberg 19:38
Image 2 (can be viewed in the attachment)
Heisenberg 19:39
The engine hasn't started yet [laughs through tears]
peacewong@WDS 19:40
How do I feel that the registration is not the one that reported the error
Mr. Lightning 19:41
@CCweixiao_intsig_leojie Blind guess is that the service cannot be found, he is looking for the domain name of bigdata, your service is bound to localhost
Heisenberg 19:42
@peacewong@WDS eureka Some are localhost and some are host names. How is this set up? Never encountered this problem before [laughs through tears]
peacewong@WDS 19:43
Are all the same machine?
peacewong@WDS 19:43
This should not have been modified recently.
Heisenberg 19:43
correct
Heisenberg 19:43
I installed 1.1.2 from zero and used go to HDFS
peacewong@WDS 19:44
Are there two hosts configured?
Mr. Lightning 19:44
@CCweixiao_intsig_leojie I know this is controlled by the parameter install_ip
Heisenberg 19:44
Image 3 (can be viewed in the attachment)
Heisenberg 19:44
What IP was set during installation?
Heisenberg 19:45
I'm done installing this, can you help?
Heisenberg 19:45
Ha ha
Mr. Lightning 19:45
If you set the mapping between hostname and ip in the first line, hostname is generally used, but install_ip is not used.
Mr. Lightning 19:45
Try the first line plus intranet ip to hostname mapping
Mr. Lightning 19:46
It seems that the file linkis-env.sh is set
Heisenberg 19:46
this
Heisenberg 19:46
Image 4 (can be viewed in the attachment)
Mr. Lightning 19:47
Well, I just did the second step
1 is to change the hosts
2 is this sh file
Heisenberg 19:47
OK
————— 2022-6-2 —————
海森堡 19:37
图片1(可在附件中查看)
海森堡 19:37
linkis 1.1.2 ,部署完成之后 执行shell 脚本报错,
海森堡 19:38
Caused by: org.apache.linkis.rpc.exception.NoInstanceExistsException: errCode: 10051 ,desc: The instance centost-bigdatahbase-28098:9102 of application linkis-cg-engineconnmanager is not exists.
闪电先生 19:38
这个引擎挂了吗?
海森堡 19:38
ECM 服务正常启动,无报错,eureka页注册了的
海森堡 19:38
图片2(可在附件中查看)
海森堡 19:39
引擎还没起来 [破涕为笑]
peacewong@WDS 19:40
怎么感觉注册的不是报错的那个
闪电先生 19:41
@CCweixiao_intsig_leojie 盲猜是服务找不到,他找bigdata那个域名的,你的服务绑定在localhost
海森堡 19:42
@peacewong@WDS eureka 有的是localhost 有的是主机名,这个是怎么设置来着?之前没遇到过这问题[破涕为笑]
peacewong@WDS 19:43
都是同一台机器?
peacewong@WDS 19:43
这个最近应该没修改这里来着
海森堡 19:43
对的
海森堡 19:43
我从零安装的1.1.2 用了去HDFS
peacewong@WDS 19:44
是不是配置了两个hosts
闪电先生 19:44
@CCweixiao_intsig_leojie 这个我知道 是install_ip那个参数控制的
海森堡 19:44
图片3(可在附件中查看)
海森堡 19:44
安装的时候设置的IP?
海森堡 19:45
我这安装完了 还能救吗
海森堡 19:45
哈哈
闪电先生 19:45
如果你把第一行设置了hostname和ip的映射 一般是会用hostname,实在不行用install_ip
闪电先生 19:45
试一下第一行加内网ip到hostname映射
闪电先生 19:46
好像是linkis-env.sh这个文件设置
海森堡 19:46
这个嘛
海森堡 19:46
图片4(可在附件中查看)
闪电先生 19:47
嗯 我就是做了二步
1是改hosts
2就是这个sh文件
海森堡 19:47
好的
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org