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

SQLE安装包中增加arthas #2731

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

SQLE安装包中增加arthas #2731

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

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进程
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants