Dear:

Wechat group "Apache Linkis(incubating)  community Development group "chat 
records are as follows:  微信群"Apache Linkis(incubating)  社区开发群"的聊天记录如下:

 

—————  2022-11-10  —————

She said 14:54




@peacewong@WDS linkis version 1.1.1 is there a problem here? eureka uses ip to 
get it







She said 14:54




See here is the hostname logic based on this ip address to find the 
corresponding instance log or execution results ah?







peacewong@WDS  15:06




Here is the use of eureka registered instance stitching oh







peacewong@WDS  15:06




There is no default host name







She said 15:08




@peacewong@WDS I registered as ip concatenated as hostname







She said 15:17




@peacewong@WDS What's going on here, big guy? You can't use hostname under the 
container







peacewong@WDS  15:17




It's supposed to be compatible







peacewong@WDS  15:17




If you look at code 1.1.1, what's set here is the ip and port







She said 15:20




eurekaPreferIp is false by default, right? So it's true if you install it with 
different keys?







She said 15:22




Only environment variables? EUREKA_PREFER_IP







peacewong@WDS  15:22




Yes, export EUREKA_PREFER_IP=true in the boot script or environment variable







She said 15:24




Well, thank you. Let me take a look at our separate deployment. I just set up 
the eureka registration method







casion  15:26
















casion  15:26




Are you using version 1.1.1? Identify this place







casion  15:26




https://github.com/apache/incubator-linkis/pull/3611







She said 15:28




Hang on. The net is a little slow







She said 15:29




no problem







She said 15:29




The solution is to write instance wrong and add environment variables







————— 2022-11-11 —————




She said 13:45




@Xia Chen @peacewong@WDS







She said 13:45




Where is the logic generated here?







She said 13:45
















peacewong@WDS  14:22
















peacewong@WDS  14:22




here







She said 14:23




All right, thanks big guy




她說  14:54

@peacewong@WDS linkis 1.1.1 版本这里是不是有点问题啊 eureka使用ip方式获取




她說  14:54

看这里是hostname的 逻辑是不是根据这个ip找对应的实例那日志 或者执行结果的啊?




peacewong@WDS  15:06

这里是用eureka上面注册的instance进行拼接的哦




peacewong@WDS  15:06

不会默认主机名




她說  15:08

@peacewong@WDS 我注册是ip 拼接的是hostname




她說  15:17

@peacewong@WDS 大佬这个是怎么回事那 容器下不能用hostname 方式那




peacewong@WDS  15:17

应该是兼容的才对




peacewong@WDS  15:17

看了代码1.1.1这里设置的就是ip和端口




她說  15:20

eurekaPreferIp默认是 false  吧 这个不一键安装 走的那改成true?




她說  15:22

只有环境变量?EUREKA_PREFER_IP




peacewong@WDS  15:22

是的,export EUREKA_PREFER_IP=true设置到启动脚本或者环境变量里面就好的




她說  15:24

嗯呢 感谢 我看看 我们这分开部署的 我只是设置了eureka注册方式 这个没看到




casion  15:26







casion  15:26

你用的是1.1.1版本吗 ?确认下这个地方  




casion  15:26

 https://github.com/apache/incubator-linkis/pull/3611 




她說  15:28

稍等网有点慢




她說  15:29

没问题




她說  15:29

解决了 就是写入instance的不对 加入环境变量就可以了




—————  2022-11-11  —————

她說  13:45

@夏晨 @peacewong@WDS




她說  13:45

这里生成的逻辑在那啊?




她說  13:45







peacewong@WDS  14:22







peacewong@WDS  14:22

这里




她說  14:23

好的 感谢大佬

 

Best Regards
------
康悦 ritakang 
GitHub:Ritakang0451
E-mail:rita0...@163.com

Reply via email to