Skip to content

SQLE安装包中增加arthas #2731

New issue

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

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

Already on GitHub? # to your account

Open
littleniannian opened this issue Nov 1, 2024 · 0 comments
Open

SQLE安装包中增加arthas #2731

littleniannian opened this issue Nov 1, 2024 · 0 comments
Assignees

Comments

@littleniannian
Copy link
Collaborator

littleniannian commented Nov 1, 2024

需求描述(Describe)

SQLE安装包RPM中,增加arthas用来对于Java插件的异常诊断。

实现方案

  • RPM: 在sqled_with_dms.spec sqled.spec中增加arthas的安装指令,并且将用户actiontech-universe设置为可以登陆,因为arthas attach进程需要和启动进程相同的用户。
#arthas
curl https://arthas.aliyun.com/arthas-boot.jar -o $RPM_INSTALL_PREFIX/arthas-boot.jar

变更影响面

受影响的模块或功能

  • SQLE的安装(RPM,Docker)

外部引用的潜在问题或风险

版本兼容性

测试建议

  • 测试RPM安装,Docker安装后的/opt/sqle目录下是否存在arthas-boot.jar
  • 切换到用户su - actiontech-universe后能否使用arthas正常attach到java进程
@littleniannian littleniannian mentioned this issue Nov 1, 2024
5 tasks
@ColdWaterLW ColdWaterLW added this to the v3.2411.0 milestone Nov 1, 2024
@ColdWaterLW ColdWaterLW modified the milestones: v3.2411.0, v3.2412.0 Dec 5, 2024
@ColdWaterLW ColdWaterLW modified the milestones: v3.2412.0, v3.2501.0 Dec 30, 2024
@ColdWaterLW ColdWaterLW modified the milestones: v4.2502.0, v4.2503.0 Feb 24, 2025
@ColdWaterLW ColdWaterLW modified the milestones: v4.2503.0, 4.2504.0 Mar 26, 2025
@ColdWaterLW ColdWaterLW removed this from the v4.2504.0 milestone Apr 21, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants