You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by 康悦Rita <ri...@163.com> on 2022/09/13 01:53:49 UTC
[DISCUSS]Separate debugging of the engine
Dear:
Wechat group "Apache Linkis community Development group "chat records are as follows: 微信群"Apache Linkis 社区开发群"的聊天记录如下:
————— 2022-9-3 —————
Behold, lentils,
@peacewong@WDS Have you ever thought of adding some test classes to the engine to debug directly separately
peacewong@WDS 14:34
Does this refer to unit tests?
Lentils 14:45
Almost or I run the mian method directly to execute the statement
Lentils whoever eats
This engine random port I have to modify
Lentils whoever eats
peacewong@WDS 14:47
Community students are already doing this, and have now added a single test to shell/ Spark/Python and other engines
Lentils whoever eats
The main thing is I have container port numbers and I have to fix the range and I have to mirror it
peacewong@WDS 14:48
After 1.1.3, the port supports the configuration range
Lentils were
Excellent [strong]
Lentils were
It took over half an hour to pack
Lentils were
Zhaoyun name
You don't call them all at once, just pack the one you're debugging and replace it
Lentil any valiant man
All my services are split into one mirror image
Zhaoyun any valiant man
Oh, oh, you're mirroring
Lentil any valiant man
And then the lib inside the mirror doesn't want to map it out
peacewong@WDS 14:54
Version 1.2.0 is optimized for many fewer modules and builds much faster
Mr Flash 14:57
Packaging images is slow, hundreds of meters of stuff to download...
Zhaoyun 14:58
I see. You can make a base image of the package. Next time you don't have to download it all
Mr Lightning at 15:00
... That's a good idea扁豆 14:33
@peacewong@WDS 有没有想过引擎增加一些测试类 直接单独调试
peacewong@WDS 14:34
这个是指单元测试吗?
扁豆 14:45
差不多 或者是 我直接mian方法运行 执行语句
扁豆 14:47
这种引擎随机端口 我还要修改
扁豆 14:47
peacewong@WDS 14:47
社区同学已经在做了,现在已经对shell/spark/python等引擎加了单测
扁豆 14:47
主要是我都容器化 端口号还得固定范围 得打镜像
peacewong@WDS 14:48
1.1.3版本后端口已经支持配置范围了的
扁豆 14:49
优秀[强]
扁豆 14:49
打包得半个多小时
扁豆 14:49
赵云 14:50
你不要一次都打,只把你调试的那个打个包去替换了就行了
扁豆 14:52
我所有的服务拆开 公用一个镜像
赵云 14:52
哦哦,你是弄镜像了
扁豆 14:52
然后镜像里面得lib 不想把他映射出来
peacewong@WDS 14:54
1.2.0版本优化减少了很多模块,编译加快许多
闪电先生 14:57
打包镜像很慢的,要下载几百M东西……
赵云 14:58
我知道了,你可以把打包好的做成基础镜像,下次就不用都下载了,飞一样快
闪电先生 15:00
……你这个想法好